pandas / 1 / reference / api / pandas.tseries.offsets.hour.is_anchored.html

pandas.tseries.offsets.Hour.is_anchored

Hour.is_anchored()

Return boolean whether the frequency is a unit frequency (n=1).

Examples

>>> pd.DateOffset().is_anchored()
True
>>> pd.DateOffset(2).is_anchored()
False

© 2008–2022, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/1.5.0/reference/api/pandas.tseries.offsets.Hour.is_anchored.html