Skip to content

Commit 811a216

Browse files
committed
BUG: Can't compute cummin/cummax on ordered categorical pandas-dev#52335
BUG: Can't compute cummin/cummax on ordered categorical pandas-dev#52335
1 parent 9e19dc1 commit 811a216

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pandas/core/arrays/categorical.py

-1
Original file line numberDiff line numberDiff line change
@@ -2239,7 +2239,6 @@ def _accumulate(self, name: str, skipna: bool = True, **kwargs):
22392239
else:
22402240
raise NotImplementedError(f"cannot perform {name} with type {self.dtype}")
22412241

2242-
22432242
@classmethod
22442243
def _concat_same_type(cls, to_concat: Sequence[Self], axis: AxisInt = 0) -> Self:
22452244
from pandas.core.dtypes.concat import union_categoricals

0 commit comments

Comments
 (0)