File tree 2 files changed +19
-1
lines changed
2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -368,7 +368,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
368
368
-i " pandas.api.extensions.ExtensionArray.tolist RT03,SA01" \
369
369
-i " pandas.api.extensions.ExtensionArray.unique RT03,SA01" \
370
370
-i " pandas.api.extensions.ExtensionArray.view SA01" \
371
- -i " pandas.api.indexers.BaseIndexer PR01,SA01" \
372
371
-i " pandas.api.indexers.FixedForwardWindowIndexer PR01,SA01" \
373
372
-i " pandas.api.indexers.VariableOffsetWindowIndexer PR01,SA01" \
374
373
-i " pandas.api.interchange.from_dataframe RT03,SA01" \
Original file line number Diff line number Diff line change @@ -48,6 +48,25 @@ class BaseIndexer:
48
48
"""
49
49
Base class for window bounds calculations.
50
50
51
+ Parameters
52
+ ----------
53
+ index_array : np.ndarray, default None
54
+ Array-like structure representing the indices for the data points.
55
+ If None, the default indices are assumed. This can be useful for
56
+ handling non-uniform indices in data, such as in time series
57
+ with irregular timestamps.
58
+ window_size : int, default 0
59
+ Size of the moving window. This is the number of observations used
60
+ for calculating the statistic. The default is to consider all
61
+ observations within the window.
62
+ **kwargs
63
+ Additional keyword arguments passed to the subclass's methods.
64
+
65
+ See Also
66
+ --------
67
+ DataFrame.rolling : Provides rolling window calculations on dataframe.
68
+ Series.rolling : Provides rolling window calculations on series.
69
+
51
70
Examples
52
71
--------
53
72
>>> from pandas.api.indexers import BaseIndexer
You can’t perform that action at this time.
0 commit comments