Skip to content

to_datetime.to_period not printable #92

@barneydobson

Description

@barneydobson

The monthyear created by to_datetime('<a date>').to_period('M'), which is used as the keys for Surface/data_input_dict cannot be printed, I guess because __repr__ and __str__ in to_datetime are assuming Y/m/d.

It's still hashable so isn't breaking anything, but makes debugging hard.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions