Skip to content

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

Closed
wants to merge 1 commit into from

Conversation

toobaz
Copy link
Member

@toobaz toobaz commented Feb 7, 2016

…nd it)

closes #10381

@@ -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)
Copy link
Contributor

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

Copy link
Contributor

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)

@jreback jreback added the IO HDF5 read_hdf, HDFStore label Feb 8, 2016
@jreback
Copy link
Contributor

jreback commented Mar 12, 2016

can you rebase/update

@jreback
Copy link
Contributor

jreback commented May 7, 2016

can you rebase / update & add whatsnew for 0.18.2

@jreback
Copy link
Contributor

jreback commented May 14, 2016

can you update according to comments

@jreback
Copy link
Contributor

jreback commented May 25, 2016

can you rebase / update?

@toobaz
Copy link
Member Author

toobaz commented May 25, 2016

Yeah, I'm just trying to focus on one PR at a time to limit (my) confusion... but this will be the next.

@jreback
Copy link
Contributor

jreback commented May 25, 2016

sure no prob

@jreback
Copy link
Contributor

jreback commented Sep 9, 2016

can you rebase / update?

@toobaz
Copy link
Member Author

toobaz commented Sep 11, 2016

Not next week, I fear, but yes the one after.

@jreback
Copy link
Contributor

jreback commented Nov 16, 2016

closing, but pls reopen / comment if you can continue

@jreback jreback closed this Nov 16, 2016
@toobaz
Copy link
Member Author

toobaz commented Nov 24, 2016

See #14728 (sorry for the long wait)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IO HDF5 read_hdf, HDFStore
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: DataFrame.to_hdf doesn't pass along min_itemsize for index
3 participants