modin.pandas.DatetimeIndex.freq¶

property DatetimeIndex.freq: NoReturn[source]¶

Return the frequency object if it’s set, otherwise None.

Examples

>>> idx = pd.date_range("2000-01-01", periods=3, freq="YE")
>>> idx.freq  
<YearEnd: month=12>
Copy