Skip to content

Commit 52a7276

Browse files
committed
remove BooleanArray.prod
1 parent 6b1ad81 commit 52a7276

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

pandas/core/arrays/boolean.py

-12
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
import pyarrow
2929

3030
from pandas._typing import (
31-
AxisInt,
3231
Dtype,
3332
DtypeObj,
3433
Self,
@@ -405,14 +404,3 @@ def _accumulate(
405404
return IntegerArray(data.astype(int), mask)._accumulate(
406405
name, skipna=skipna, **kwargs
407406
)
408-
409-
def prod(
410-
self,
411-
*,
412-
skipna: bool = True,
413-
min_count: int = 0,
414-
axis: AxisInt | None = 0,
415-
**kwargs,
416-
):
417-
arr = cast(BaseMaskedArray, self.astype("Int8"))
418-
return arr.prod(skipna=skipna, min_count=min_count, axis=axis, **kwargs)

0 commit comments

Comments
 (0)