We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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:
%f
format
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
The text was updated successfully, but these errors were encountered:
ok fixed by #8904
simple really. you read in the 9 digits. last 3 are ps (*1000), first 6 are us.
Sorry, something went wrong.
closed by #8904
Successfully merging a pull request may close this issue.
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 aformat
string:The text was updated successfully, but these errors were encountered: