BUG: DatetimeIndex constructed with Timestamps on DST border are converted to the same Timestamp #20854
Comments
So it appears that this is actually a repr issue, as the resulting DatetimeIndex has the same integer representation as the Timestamps. When constructing the repr here: pandas/pandas/io/formats/format.py Lines 1259 to 1260 in b02c69a Essentially this happens:
Which is a separate but related bug. |
I think this example stems from the same bug:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For Helsinki, DST "falls back" on
2016-10-30
and therefore03:00:00
occurs twice with 2 different UTC offsets (+0300
and+0200
). When constructing theDatetimeIndex
above, the UTC offset of the first argument is incorrectly converted to the offset after the DST transition.Expected:
The text was updated successfully, but these errors were encountered: