-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: Ensure data_columns is always a list (i.e. min_itemsize can exte… #12252
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
@@ -3247,7 +3247,7 @@ def validate_data_columns(self, data_columns, min_itemsize): | |||
# evaluate the passed data_columns, True == use all columns | |||
# take only valide axis labels | |||
if data_columns is True: | |||
data_columns = axis_labels | |||
data_columns = list(axis_labels) |
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.
this type coercion will fail if you pass a string
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.
in fact this should be not done here at all. The data_columns
should be cleaned in a central location (IIRC they already are and just needs an adjustment)
can you rebase/update |
can you rebase / update & add whatsnew for 0.18.2 |
can you update according to comments |
can you rebase / update? |
Yeah, I'm just trying to focus on one PR at a time to limit (my) confusion... but this will be the next. |
sure no prob |
can you rebase / update? |
Not next week, I fear, but yes the one after. |
closing, but pls reopen / comment if you can continue |
See #14728 (sorry for the long wait) |
…nd it)
closes #10381