modin.pandas.DatetimeIndex.freqstr¶ property DatetimeIndex.freqstr: NoReturn[source]¶ Return the frequency object as a string if it’s set, otherwise None. Examples CopyExpand>>> idx = pd.DatetimeIndex(["1/1/2020 10:00:00+00:00"], freq="D") >>> idx.freqstr 'D' Show lessSee moreScroll to top The frequency can be inferred if there are more than 2 points: CopyExpand>>> idx = pd.DatetimeIndex(["2018-01-01", "2018-01-03", "2018-01-05"], ... freq="infer") >>> idx.freqstr '2D' Show lessSee moreScroll to top