Skip to content

Commit 51d7942

Browse files
committed
updated method parameter description
1 parent 0279a81 commit 51d7942

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

pandas/core/groupby/groupby.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3912,10 +3912,9 @@ def ewm(
39123912
Times corresponding to the observations.
39133913
39143914
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.
3915+
Execute the operation per group independently (``'single'``) or over the entire
3916+
object before regrouping (``'table'``). Only applicable to ``mean()``, and only
3917+
when using ``engine='numba'``.
39193918
39203919
Returns
39213920
-------

0 commit comments

Comments
 (0)