modin.pandas.DatetimeIndex.inferred_freq¶
- property DatetimeIndex.inferred_freq: NoReturn[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.26.0/snowpark-python/src/snowflake/snowpark/modin/plugin/utils/error_message.py#L85-L94)¶
Tries to return a string representing a frequency generated by infer_freq.
Returns None if it can’t autodetect the frequency.
Examples
>>> idx = pd.DatetimeIndex(["2018-01-01", "2018-01-03", "2018-01-05"]) >>> idx.inferred_freq '2D'