Skip to content
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

Loose frequency information when storing with table=True to HDF5 #3499

Closed
tobinvanpelt opened this issue May 1, 2013 · 2 comments
Closed
Labels
Enhancement IO Data IO issues that don't fit into a more specific label
Milestone

Comments

@tobinvanpelt
Copy link

I have found what possibly is a bug. When storing data as HDF5 with table=True the read value of series.index.freq from HDF5 is set to None rather than its original values.

Please see: http://stackoverflow.com/questions/16311045/in-pandas-why-is-frequency-information-lost-when-storing-in-hdf5-as-a-table

Not sure if there is a limitation for some reason in PyTables or if this is a bug.

@jreback
Copy link
Contributor

jreback commented May 1, 2013

this is not implemented
as a workaround u can store it in an attribute
see the last cookbook entry: http://pandas.pydata.org/pandas-docs/dev/cookbook.html#hdfstore

I'll leave this issue open as a reminder - this is pretty straightforward if u would like to do a PR?

@jreback
Copy link
Contributor

jreback commented May 8, 2013

this is closed by #3531

@jreback jreback closed this as completed May 8, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement IO Data IO issues that don't fit into a more specific label
Projects
None yet
Development

No branches or pull requests

2 participants