-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: DataFrame.to_hdf doesn't pass along min_itemsize for index #10381
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
Comments
FYI the solution here works. Something like store.append('test', df, min_itemsize={'index': 30}) so it should just be a matter of passing along arguments. |
I think maybe add to the docs a bit more here. This is like saying that the default for column A should be the same as B, which is not very explicit. That said it should work for |
Notice that if I do
and then
(as far as I understand, the suggested workaround), I still get the error. |
Just for the records: the bug doesn't have to do with
will fail the same. I'm pushing a PR in few seconds. |
closes #10381 Author: Pietro Battiston <[email protected]> Closes #14812 from toobaz/to_hdf_min_itemsize and squashes the following commits: c07f1e4 [Pietro Battiston] Whatsnew 38b8fcc [Pietro Battiston] Tests for previous commit c838afa [Pietro Battiston] BUG: set min_itemsize even when there is no need to validate (#10381) (cherry picked from commit e833096)
closes pandas-dev#10381 Author: Pietro Battiston <[email protected]> Closes pandas-dev#14812 from toobaz/to_hdf_min_itemsize and squashes the following commits: c07f1e4 [Pietro Battiston] Whatsnew 38b8fcc [Pietro Battiston] Tests for previous commit c838afa [Pietro Battiston] BUG: set min_itemsize even when there is no need to validate (pandas-dev#10381)
Unless I'm seeing something wrong
and FYI this raises (not sure if it should work)
Just a report right now... no time.
The text was updated successfully, but these errors were encountered: