-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
AmbiguousTimeError: Cannot infer dst time from Timestamp('2015-11-01 01:00:03'), try using the 'ambiguous' argument #14402
New issue
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
Comments
can you show a copy-pastable example. e.g. construct a frame exactly like what you need. Then apply operations to show an error. |
|
|
Thanks for the quick reply. Here's the traceback from a minimal, reproducible example with a one-row data frame.
|
@adamschultz ok fixed in #14405 ; this was a bug in interpreting a passed boolean. Note that you still MUST pass the ambiguous argument, as this fundamentally IS an ambiguous time. |
In Pandas 0.19.0, there seems to be an error when setting the timezone for times close to the dst cutoff.
This issue appears very similar to #11619 and #11626, both of which have been closed. The traceback is below.
Here is some relevant information on the data frame.
I also had this same issue in Pandas 0.18.0 before upgrading to 0.19.0.
The text was updated successfully, but these errors were encountered: