You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't quite understand why the error occurs even with parameter ambiguous='infer'.
Does my dataframe have to be "sorted" in any way? I think data frames are ordered by default since there is DataFrame.iloc
Or is there a specific problem with pd.read_csv()?
I wish to apply ambiguous='infer' with respect to the order of the CSV file. Precisly I mean: the order of the ambiguous time format helps to differ between summer and winter time.
I would be glad about help for a solution and about a broader explanation. I couldn't find out more about how order can play a role in data frames--does it sometimes?
If order is not the problem here, than I believe this is an issue.
The text was updated successfully, but these errors were encountered:
I read CSV-files with ambiguous local time -- ambiguous due to daylight saving time.
When I apply
tz_localize()
I run in the following error:Here is my code to reproduce the error. Note that from 2am to 3am every datetime is a duplicate due to daylight saving time.
I don't quite understand why the error occurs even with parameter
ambiguous='infer'
.Does my dataframe have to be "sorted" in any way? I think data frames are ordered by default since there is
DataFrame.iloc
Or is there a specific problem with
pd.read_csv()
?I wish to apply
ambiguous='infer'
with respect to the order of the CSV file. Precisly I mean: the order of the ambiguous time format helps to differ between summer and winter time.I would be glad about help for a solution and about a broader explanation. I couldn't find out more about how order can play a role in data frames--does it sometimes?
If order is not the problem here, than I believe this is an issue.
The text was updated successfully, but these errors were encountered: