Skip to content

ENH: Create ability to localize tz with data already in that tz (fall transition) #4230

Closed
@rockg

Description

@rockg

Many times data is already presented assuming a local timezone (e.g., with two hour 1s in the fall dst). Currently there is no way to localize this data as it raises an ambiguous time error. Please see the link for an example.

http://stackoverflow.com/questions/17370826/create-pandas-timezone-aware-datetimeindex-on-already-local-timezone

I think many times the simple assumption about the second hour being non-dst is a sound one and should be available. Perhaps there is already a way to do this, but I have yet to find it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DatetimeDatetime data dtype

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions