is_timedelta_or_date_offset

is_timedelta_or_date_offset(x) bool[source]

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