Skip to content

ERR: between_time should raise on non-timelike objects #11818

Closed
@jreback

Description

@jreback

from SO

so passing anything except time objects or strings should raise (might be a tad tricky as we don't have great time parsers, they all parse datetimelikes).

IIRC this was done for convenience at the time. But can lead to an unstatisfactory user experience.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DatetimeDatetime data dtypeError ReportingIncorrect or improved errors from pandas

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions