-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
Closed
Labels
DatetimeDatetime data dtypeDatetime data dtypeIO DataIO issues that don't fit into a more specific labelIO issues that don't fit into a more specific label
Milestone
Description
xref #8904
In the format string, %f
means microseconds (https://docs.python.org/2/library/datetime.html#strftime-and-strptime-behavior), but this means the nanoseconds cannot be read in using a format
string:
In [11]: pd.to_datetime("2012-01-01 09:00:00.000000001", format="%Y-%m-%d %H:%M:%S.%f")
->
ValueError: unconverted data remains: 001
Metadata
Metadata
Assignees
Labels
DatetimeDatetime data dtypeDatetime data dtypeIO DataIO issues that don't fit into a more specific labelIO issues that don't fit into a more specific label