PeriodWindow.offsets_within#
- PeriodWindow.offsets_within(first, last)[source]#
Positions inside the window of the dates in
[first, last].- Parameters:
- first, last
pd.Timestamp Inclusive bounds to select.
- first, last
- Returns:
np.ndarrayInteger offsets into the padded window. Empty when the window holds no fitted dates at all, which happens for a period that falls entirely outside the fitted range.