pandas.DatetimeIndex.inferred_freq

DatetimeIndex.inferred_freq

Tries to return a string representing a frequency guess, generated by infer_freq. Returns None if it can’t autodetect the frequency.