We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ccc941 commit f75b9ccCopy full SHA for f75b9cc
pandas/core/groupby/groupby.py
@@ -3911,6 +3911,12 @@ def ewm(
3911
times : str or array-like of datetime64, optional
3912
Times corresponding to the observations.
3913
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
+
3920
Returns
3921
-------
3922
pandas.api.typing.ExponentialMovingWindowGroupby
0 commit comments