Skip to content

Commit 11a5e3b

Browse files
authored
PERF: compute kurtosis for ExtensionArray using groupby method (#63172)
1 parent 0c52e25 commit 11a5e3b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pandas/core/frame.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12148,8 +12148,7 @@ def _get_data() -> DataFrame:
1214812148
result.index = df.index
1214912149
return result
1215012150

12151-
# kurtosis excluded since groupby does not implement it
12152-
if df.shape[1] and name != "kurt":
12151+
if df.shape[1]:
1215312152
dtype = find_common_type(
1215412153
[block.values.dtype for block in df._mgr.blocks]
1215512154
)

0 commit comments

Comments
 (0)