-
-
Notifications
You must be signed in to change notification settings - Fork 18.9k
Closed
Labels
DatetimeDatetime data dtypeDatetime data dtypeOutput-Formatting__repr__ of pandas objects, to_string__repr__ of pandas objects, to_string
Milestone
Description
SO the value is correct
In [2]: pd.DatetimeIndex(['2017-01-01 23:59:59.999999999'])
Out[2]: DatetimeIndex(['2017-01-01'], dtype='datetime64[ns]', freq=None)
In [3]: pd.DatetimeIndex(['2017-01-01 23:59:59.999999999']).values
Out[3]: array(['2017-01-01T23:59:59.999999999'], dtype='datetime64[ns]')
and lower precision is ok
In [4]: pd.DatetimeIndex(['2017-01-01 23:59:59.999999'])
Out[4]: DatetimeIndex(['2017-01-01 23:59:59.999999'], dtype='datetime64[ns]', freq=None)
but the ns is causing issues.
Metadata
Metadata
Assignees
Labels
DatetimeDatetime data dtypeDatetime data dtypeOutput-Formatting__repr__ of pandas objects, to_string__repr__ of pandas objects, to_string