@@ -12173,6 +12173,9 @@ def _doc_params(cls):
1217312173level : int or level name, default None
1217412174 If the axis is a MultiIndex (hierarchical), count along a
1217512175 particular level, collapsing into a {name1}.
12176+
12177+ .. deprecated:: 1.3.0
12178+ The level keyword is deprecated. Use groupby instead.
1217612179numeric_only : bool, default None
1217712180 Include only float, int, boolean columns. If None, will attempt to use
1217812181 everything, then use only numeric data. Not implemented for Series.
@@ -12205,6 +12208,9 @@ def _doc_params(cls):
1220512208level : int or level name, default None
1220612209 If the axis is a MultiIndex (hierarchical), count along a
1220712210 particular level, collapsing into a {name1}.
12211+
12212+ .. deprecated:: 1.3.0
12213+ The level keyword is deprecated. Use groupby instead.
1220812214ddof : int, default 1
1220912215 Delta Degrees of Freedom. The divisor used in calculations is N - ddof,
1221012216 where N represents the number of elements.
@@ -12310,6 +12316,9 @@ def _doc_params(cls):
1231012316level : int or level name, default None
1231112317 If the axis is a MultiIndex (hierarchical), count along a
1231212318 particular level, collapsing into a {name1}.
12319+
12320+ .. deprecated:: 1.3.0
12321+ The level keyword is deprecated. Use groupby instead.
1231312322**kwargs : any, default None
1231412323 Additional keywords have no effect but might be accepted for
1231512324 compatibility with NumPy.
0 commit comments