You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
def is_datetimelike(arr):
""" [...] """
return (is_datetime64_dtype(arr) or is_datetime64tz_dtype(arr) or
is_timedelta64_dtype(arr) or
isinstance(arr, ABCPeriodIndex) or
is_datetimetz(arr))
is_datetimetz is AFAICT redundant with is_datetime64tz_dtype, so ignore that part for now. Shouldn't the ABCPeriodIndex check be the more general is_period_dtype? Or for that matter, is_period_arraylike?
xref #22137
is_datetimetz
is AFAICT redundant withis_datetime64tz_dtype
, so ignore that part for now. Shouldn't theABCPeriodIndex
check be the more generalis_period_dtype
? Or for that matter,is_period_arraylike
?cc: @TomAugspurger
The text was updated successfully, but these errors were encountered: