BUG: read_hdf() doesn't handle datetime64[ms] properly #61479
Labels
Bug
Closing Candidate
May be closeable, needs more eyeballs
IO HDF5
read_hdf, HDFStore
Needs Info
Clarification about behavior needed to assess issue
Pandas version checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pandas.
I have confirmed this bug exists on the main branch of pandas.
Reproducible Example
Issue Description
Dataframes containing dtype of "datetime64[ms]" seem to be correctly written in hdf format, but the readback is misinterpreted as “datetime64[ns]”.
The output of the code above is:
The text was updated successfully, but these errors were encountered: