modin.pandas.TimedeltaIndex.inferred_freq¶
- property TimedeltaIndex.inferred_freq: NoReturn[source]¶
Tries to return a string representing a frequency generated by infer_freq.
Returns None if it can’t autodetect the frequency.
Examples
>>> idx = pd.to_timedelta(["0 days", "10 days", "20 days"]) >>> idx TimedeltaIndex(['0 days', '10 days', '20 days'], dtype='timedelta64[ns]', freq=None) >>> idx.inferred_freq '10D'