File tree 2 files changed +25
-1
lines changed
2 files changed +25
-1
lines changed Original file line number Diff line number Diff line change @@ -263,7 +263,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
263
263
-i " pandas.api.extensions.ExtensionArray.tolist RT03,SA01" \
264
264
-i " pandas.api.extensions.ExtensionArray.unique RT03,SA01" \
265
265
-i " pandas.api.extensions.ExtensionArray.view SA01" \
266
- -i " pandas.api.indexers.VariableOffsetWindowIndexer PR01,SA01" \
267
266
-i " pandas.api.interchange.from_dataframe RT03,SA01" \
268
267
-i " pandas.api.types.is_bool PR01,SA01" \
269
268
-i " pandas.api.types.is_bool_dtype SA01" \
Original file line number Diff line number Diff line change @@ -167,6 +167,31 @@ class VariableOffsetWindowIndexer(BaseIndexer):
167
167
"""
168
168
Calculate window boundaries based on a non-fixed offset such as a BusinessDay.
169
169
170
+ Parameters
171
+ ----------
172
+ index_array : np.ndarray, default 0
173
+ Array-like structure specifying the indices for data points.
174
+ This parameter is currently not used.
175
+
176
+ window_size : int, optional, default 0
177
+ Specifies the number of data points in each window.
178
+ This parameter is currently not used.
179
+
180
+ index : DatetimeIndex, optional
181
+ ``DatetimeIndex`` of the labels of each observation.
182
+
183
+ offset : BaseOffset, optional
184
+ ``DateOffset`` representing the size of the window.
185
+
186
+ **kwargs
187
+ Additional keyword arguments passed to the parent class ``BaseIndexer``.
188
+
189
+ See Also
190
+ --------
191
+ api.indexers.BaseIndexer : Base class for all indexers.
192
+ DataFrame.rolling : Rolling window calculations on DataFrames.
193
+ offsets : Module providing various time offset classes.
194
+
170
195
Examples
171
196
--------
172
197
>>> from pandas.api.indexers import VariableOffsetWindowIndexer
You can’t perform that action at this time.
0 commit comments