Skip to content

Commit c46d8b4

Browse files
mroeschkeKevin D Smith
authored and
Kevin D Smith
committed
PERF: Improve RollingGroupby.count (pandas-dev#36872)
1 parent 2a432cc commit c46d8b4

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

doc/source/whatsnew/v1.2.0.rst

+1
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,7 @@ Performance improvements
284284
- ``Styler`` uuid method altered to compress data transmission over web whilst maintaining reasonably low table collision probability (:issue:`36345`)
285285
- Performance improvement in :meth:`pd.to_datetime` with non-ns time unit for ``float`` ``dtype`` columns (:issue:`20445`)
286286
- Performance improvement in setting values on a :class:`IntervalArray` (:issue:`36310`)
287+
- Performance improvement in :meth:`RollingGroupby.count` (:issue:`35625`)
287288

288289
.. ---------------------------------------------------------------------------
289290

pandas/core/window/common.py

-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ def __init__(self, obj, *args, **kwargs):
5858
self._groupby.grouper.mutated = True
5959
super().__init__(obj, *args, **kwargs)
6060

61-
count = _dispatch("count")
6261
corr = _dispatch("corr", other=None, pairwise=None)
6362
cov = _dispatch("cov", other=None, pairwise=None)
6463

0 commit comments

Comments
 (0)