@@ -4672,6 +4672,14 @@ def cumprod(self, *args, **kwargs) -> NDFrameT:
4672
4672
"""
4673
4673
Cumulative product for each group.
4674
4674
4675
+ Parameters
4676
+ ----------
4677
+ *args : tuple
4678
+ Positional arguments to be passed to `func`.
4679
+ **kwargs : dict
4680
+ Additional/specific keyword arguments to be passed to the function,
4681
+ such as `numeric_only` and `skipna`.
4682
+
4675
4683
Returns
4676
4684
-------
4677
4685
Series or DataFrame
@@ -4722,6 +4730,14 @@ def cumsum(self, *args, **kwargs) -> NDFrameT:
4722
4730
"""
4723
4731
Cumulative sum for each group.
4724
4732
4733
+ Parameters
4734
+ ----------
4735
+ *args : tuple
4736
+ Positional arguments to be passed to `func`.
4737
+ **kwargs : dict
4738
+ Additional/specific keyword arguments to be passed to the function,
4739
+ such as `numeric_only` and `skipna`.
4740
+
4725
4741
Returns
4726
4742
-------
4727
4743
Series or DataFrame
@@ -4776,6 +4792,14 @@ def cummin(
4776
4792
"""
4777
4793
Cumulative min for each group.
4778
4794
4795
+ Parameters
4796
+ ----------
4797
+ numeric_only : bool, default False
4798
+ Include only `float`, `int` or `boolean` data.
4799
+ **kwargs : dict, optional
4800
+ Additional keyword arguments to be passed to the function, such as `skipna`,
4801
+ to control whether NA/null values are ignored.
4802
+
4779
4803
Returns
4780
4804
-------
4781
4805
Series or DataFrame
@@ -4838,6 +4862,14 @@ def cummax(
4838
4862
"""
4839
4863
Cumulative max for each group.
4840
4864
4865
+ Parameters
4866
+ ----------
4867
+ numeric_only : bool, default False
4868
+ Include only `float`, `int` or `boolean` data.
4869
+ **kwargs : dict, optional
4870
+ Additional keyword arguments to be passed to the function, such as `skipna`,
4871
+ to control whether NA/null values are ignored.
4872
+
4841
4873
Returns
4842
4874
-------
4843
4875
Series or DataFrame
@@ -5134,6 +5166,32 @@ def pct_change(
5134
5166
"""
5135
5167
Calculate pct_change of each value to previous entry in group.
5136
5168
5169
+ Parameters
5170
+ ----------
5171
+ periods : int, default 1
5172
+ Periods to shift for calculating percentage change. Comparing with
5173
+ a period of 1 means adjacent elements are compared, whereas a period
5174
+ of 2 compares every other element.
5175
+
5176
+ fill_method : FillnaOptions or None, default None
5177
+ Specifies how to handle missing values after the initial shift
5178
+ operation necessary for percentage change calculation. Users are
5179
+ encouraged to handle missing values manually in future versions.
5180
+ Valid options are:
5181
+ - A FillnaOptions value ('ffill', 'bfill') for forward or backward filling.
5182
+ - None to avoid filling.
5183
+ Note: Usage is discouraged due to impending deprecation.
5184
+
5185
+ limit : int or None, default None
5186
+ The maximum number of consecutive NA values to fill, based on the chosen
5187
+ `fill_method`. Address NaN values prior to using `pct_change` as this
5188
+ parameter is nearing deprecation.
5189
+
5190
+ freq : str, pandas offset object, or None, default None
5191
+ The frequency increment for time series data (e.g., 'M' for month-end).
5192
+ If None, the frequency is inferred from the index. Relevant for time
5193
+ series data only.
5194
+
5137
5195
Returns
5138
5196
-------
5139
5197
Series or DataFrame
0 commit comments