Skip to content

tz-aware datetime pd.Series. -> tz information gets lost #210

@jonasvdd

Description

@jonasvdd

When passing a tz-aware non pd.DateTimeIndex (and thus not a pd.Series) to hf_x the .values is performed internally when parsing the hf_data kwargs; which removes the time-zone information; and will display the UTC time.

image

image

TODO:

  • write tests
  • test what happens when we alter hf_data[<ID>]['x'] at runtime with a tz-aware pd.DateTimeIndex

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions