Skip to content

warn or raise on explicit incompatible TimeUnit #2964

@dangotbanned

Description

@dangotbanned

Related

Description

I was caught out in a test where for pandas<2, we silently ignore nw.Datetime(time_unit=...) and always use "ns".

It is understandable after reading up on the issue, and an upcoming breaking change in pandas.

However, we should be documenting what is happening - so that anyone trying to trace back an issue can find out the origin

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