diff --git a/pandas/core/frame.py b/pandas/core/frame.py index c8c246434f6d8..ae555b6a2eeaf 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -12148,8 +12148,7 @@ def _get_data() -> DataFrame: result.index = df.index return result - # kurtosis excluded since groupby does not implement it - if df.shape[1] and name != "kurt": + if df.shape[1]: dtype = find_common_type( [block.values.dtype for block in df._mgr.blocks] )