Skip to content

Commit 0a785d5

Browse files
committed
Revert changes to pass numeric_only
1 parent 61dcee3 commit 0a785d5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

pandas/core/groupby/groupby.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -1755,8 +1755,7 @@ def cummin(self, axis=0, **kwargs):
17551755
if axis != 0:
17561756
return self.apply(lambda x: np.minimum.accumulate(x, axis))
17571757

1758-
return self._cython_transform('cummin',
1759-
numeric_only=kwargs.get('numeric_only') or False)
1758+
return self._cython_transform('cummin', numeric_only=False)
17601759

17611760
@Substitution(name='groupby')
17621761
@Appender(_doc_template)
@@ -1765,8 +1764,7 @@ def cummax(self, axis=0, **kwargs):
17651764
if axis != 0:
17661765
return self.apply(lambda x: np.maximum.accumulate(x, axis))
17671766

1768-
return self._cython_transform('cummax',
1769-
numeric_only=kwargs.get('numeric_only') or False)
1767+
return self._cython_transform('cummax', numeric_only=False)
17701768

17711769
def _get_cythonized_result(self, how, grouper, aggregate=False,
17721770
cython_dtype=None, needs_values=False,

0 commit comments

Comments
 (0)