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
As a pandas user, I wish I could use pandas to determine which values in a DatetimeIndex are using DST (Daylight Saving Time). This could be useful for a datetime column that recorded values year-round (ex - 1 column with EDT and EST datetimes).
Describe the solution you'd like
An attribute on DatetimeIndex that is named is_daylight_savings_time or is_dst)
Following #49684, an easy (but non-performant) way to implement this will be folds = np.array([x.fold for x in self], dtype=bool). For a more performant implementation we'd need to refactor out parts of ints_to_pydatetime.
Is your feature request related to a problem?
As a pandas user, I wish I could use pandas to determine which values in a DatetimeIndex are using DST (Daylight Saving Time). This could be useful for a datetime column that recorded values year-round (ex - 1 column with EDT and EST datetimes).
Describe the solution you'd like
is_daylight_savings_time
oris_dst
)API breaking implications
Additional context
The text was updated successfully, but these errors were encountered: