You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is not supported on fixed stores. I suppose it could be implemented, but is somewhat non-trivial. You should use format='table'
In [11]: df.to_hdf('/tmp/data.h5', 'data',format='table')
In [12]: pd.read_hdf('/tmp/data.h5','data').dtypes
Out[12]:
time datetime64[ns, UTC]
dtype: object
@jreback I think this error message is rather confusing. As you just have a column of datetime values (but timezone aware in this case), while the error message says that DatetimeIndex is not supported. And it is not that datetime values are not supported, it is only the timezone part of it.
An attempt to store a dataframe with datetime64+tz column (introduced in pandas 0.17) results in a TypeError exception
The text was updated successfully, but these errors were encountered: