Skip to content

Commit f75b9cc

Browse files
committed
added method argument to docstring
1 parent 1ccc941 commit f75b9cc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pandas/core/groupby/groupby.py

+6
Original file line numberDiff line numberDiff line change
@@ -3911,6 +3911,12 @@ def ewm(
39113911
times : str or array-like of datetime64, optional
39123912
Times corresponding to the observations.
39133913
3914+
method : {'single', 'table'}, default 'single'
3915+
Method for computing the exponentially weighted statistics.
3916+
* ``'single'``: Calculate the statistic for each group independently.
3917+
* ``'table'``: Calculate the statistic using the entire table and then
3918+
regroup. Useful for performance but may give different results.
3919+
39143920
Returns
39153921
-------
39163922
pandas.api.typing.ExponentialMovingWindowGroupby

0 commit comments

Comments
 (0)