pandas.tseries.offsets.HalfYearBegin.n#
- HalfYearBegin.n#
Return the count of the number of periods.
这表示应应用多少个偏移频率的倍数。例如,
Hour(5)的n=5。另请参阅
DateOffset.normalizeReturn boolean whether the frequency can align with midnight.
示例
>>> pd.offsets.Hour(5).n 5
>>> pd.offsets.Day(3).n 3