@@ -12173,6 +12173,9 @@ def _doc_params(cls):
12173
12173
level : int or level name, default None
12174
12174
If the axis is a MultiIndex (hierarchical), count along a
12175
12175
particular level, collapsing into a {name1}.
12176
+
12177
+ .. deprecated:: 1.3.0
12178
+ The level keyword is deprecated. Use groupby instead.
12176
12179
numeric_only : bool, default None
12177
12180
Include only float, int, boolean columns. If None, will attempt to use
12178
12181
everything, then use only numeric data. Not implemented for Series.
@@ -12205,6 +12208,9 @@ def _doc_params(cls):
12205
12208
level : int or level name, default None
12206
12209
If the axis is a MultiIndex (hierarchical), count along a
12207
12210
particular level, collapsing into a {name1}.
12211
+
12212
+ .. deprecated:: 1.3.0
12213
+ The level keyword is deprecated. Use groupby instead.
12208
12214
ddof : int, default 1
12209
12215
Delta Degrees of Freedom. The divisor used in calculations is N - ddof,
12210
12216
where N represents the number of elements.
@@ -12310,6 +12316,9 @@ def _doc_params(cls):
12310
12316
level : int or level name, default None
12311
12317
If the axis is a MultiIndex (hierarchical), count along a
12312
12318
particular level, collapsing into a {name1}.
12319
+
12320
+ .. deprecated:: 1.3.0
12321
+ The level keyword is deprecated. Use groupby instead.
12313
12322
**kwargs : any, default None
12314
12323
Additional keywords have no effect but might be accepted for
12315
12324
compatibility with NumPy.
0 commit comments