ERR: between_time should raise on non-timelike objects · Issue #11818 · pandas-dev/pandas (original) (raw)

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.