-
- Notifications
You must be signed in to change notification settings - Fork 19.4k
Closed
Closed
Copy link
Labels
Milestone
Description
Hello,
I noticed a bug about exporting DataFrame with columns containing localized datetime. I might be due to some another required libraries updated...
Example :
a = pd.to_datetime(['20120201', '20130201']) b = pd.to_datetime(['20120201', '20130201']) dfa = pd.DataFrame([a]) dfb = pd.DataFrame([b]) dfb[0] = dfb[0].dt.tz_localize('UTC') dfa.to_hdf('tata.hdf', 'df') # success dfb.to_hdf('toto.hdf', 'df') # failIt works fine with Series
Thanks guys