Skip to content

ENH: Add fold attribute to DatetimeIndex #47130

Open
@gsheni

Description

@gsheni

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 or is_dst)

API breaking implications

  • None, this is an additive feature

Additional context

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions