Skip to content

Commit 9f83f6e

Browse files
fix _reduce_columns call
1 parent 21aee0d commit 9f83f6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/frame.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7920,7 +7920,7 @@ def _get_data(axis_matters):
79207920
df = self
79217921
if numeric_only is True:
79227922
df = _get_data(axis_matters=True)
7923-
return DataFrame._reduce_columns(df, op, name, skipna=skipna, **kwds)
7923+
return df._reduce_columns(op, name, skipna=skipna, **kwds)
79247924

79257925
if numeric_only is not None and axis in [0, 1]:
79267926
df = self

0 commit comments

Comments
 (0)