diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 5c28259e0cb63..85aa13526e77c 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -7236,7 +7236,7 @@ def count(self, axis=0, level=None, numeric_only=False): If the axis is a `MultiIndex` (hierarchical), count along a particular `level`, collapsing into a `DataFrame`. A `str` specifies the level name. - numeric_only : boolean, default False + numeric_only : bool, default False Include only `float`, `int` or `boolean` data. Returns