Open
Description
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
- An attribute on DatetimeIndex that is named
is_daylight_savings_time
oris_dst
)
API breaking implications
- None, this is an additive feature
Additional context
- This issue resulted from this discussion:
- This attribute could return the following (for each datetime value):
- Value is 0 when DST is not in effect.
- Value is 1 when DST is in effect.
- Value is -1 when DST is unknown.