Skip to content

Commit e5b3656

Browse files
committed
updated parameters docstring
1 parent 4cdcfb9 commit e5b3656

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

pandas/core/groupby/groupby.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3810,9 +3810,15 @@ def expanding(self, *args, **kwargs) -> ExpandingGroupby:
38103810
38113811
Parameters
38123812
----------
3813-
min_periods : int, default 1
3814-
Minimum number of observations in the window required to have a value;
3815-
otherwise, the result is ``np.nan``.
3813+
*args : tuple
3814+
Positional arguments passed to the expanding window constructor.
3815+
**kwargs : dict
3816+
Keyword arguments passed to the expanding window constructor,
3817+
such as:
3818+
3819+
min_periods : int, default 1
3820+
Minimum number of observations in the window required to have a value;
3821+
otherwise, the result is ``np.nan``.
38163822
38173823
Returns
38183824
-------

0 commit comments

Comments
 (0)