ENH: Add support for date_unit
to be specified per column in to_json
#39135
Labels
date_unit
to be specified per column in to_json
#39135
Uh oh!
There was an error while loading. Please reload this page.
Is your feature request related to a problem?
I would want to encode my dataframe consisting of
datetime64
&timedelta64
columns with different units of precision per column into_json
.Describe the solution you'd like
Currently in
to_json
, thedate_unit
param achieves this for the entire dataframe, but I would like to encode each column with different precision. Hence adict-like
support fordate_unit
would be good to have.Describe alternatives you've considered
None
The text was updated successfully, but these errors were encountered: