-
Notifications
You must be signed in to change notification settings - Fork 3k
Move checks from _map_single to map #2660
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@lhoestq This one has been open for a while. Could you please take a look? |
lhoestq
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi ! Sorry for the late review
Indeed it makes more sense to have those checks in map directly.
I just added one comment
|
@lhoestq Ready for the final review! |
|
I forgot to update the signature of |
lhoestq
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot ! LGTM :)
The goal of this PR is to remove duplicated checks in the
maplogic to execute them only once whenever possible (fn_kwargs,input_columns, ...). Additionally, this PR improves the consistency (to align it withinput_columns) of theremove_columnscheck by adding support for a single string value, which is then wrapped into a list.