-
-
Notifications
You must be signed in to change notification settings - Fork 18.6k
ENH/BUG/DOC: HDFStore.append() on axis other than DataFrame.index or Panel.major_axis #8392
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
this is by definition if u would like to add a small doc section would be ok |
I think the documentation for |
@seth-p it will raise if the non-index axes are not identical. Yes, I suppose documentation could be improved in that regards though. (e.g. a small section on the |
So if I want to add a column to an existing DataFrame in an HDF5 store, my only option is to load the entire stored DataFrame into memory, add the column in memory, and then re- |
their are 3 options:
ultimately the user should be able to decide which form of store that they need/want (and potentially migrate between them). But this is a much bigger issue / more complicated. See https://github.com/ContinuumIO/blaze for the real answer |
For DataFrames,
HDFStore.append()
works only when "appending" along theindex
direction, i.e. it expects thecolumns
to be the same. See sample below. This doesn't appear to be documented. If can only append along a single axis, would be nice to be able to specify which.Similarly for Panels, it appears to work only along the
major_axis
. I haven't checked with Panel4D.The text was updated successfully, but these errors were encountered: