is_timedelta_or_date_offset

is_timedelta_or_date_offset(x) bool[source]

Check if x is of timedelta or pd.DateOffset type.

Deprecated since version 1.3.0: is_timedelta_or_date_offset is deprecated and will be removed in v1.4.0.