Skip to content

Commit 028c9c0

Browse files
strickvljreback
authored andcommitted
DOC: update the Series.any / Dataframe.any docstring (#21579)
1 parent ac56856 commit 028c9c0

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

pandas/core/generic.py

+7-3
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ def ndim(self):
463463
464464
See Also
465465
--------
466-
ndarray.ndim
466+
ndarray.ndim : Number of array dimensions.
467467
468468
Examples
469469
--------
@@ -487,7 +487,7 @@ def size(self):
487487
488488
See Also
489489
--------
490-
ndarray.size
490+
ndarray.size : Number of elements in the array.
491491
492492
Examples
493493
--------
@@ -9420,7 +9420,11 @@ def _doc_parms(cls):
94209420
_any_see_also = """\
94219421
See Also
94229422
--------
9423-
pandas.DataFrame.all : Return whether all elements are True.
9423+
numpy.any : Numpy version of this method.
9424+
Series.any : Return whether any element is True.
9425+
Series.all : Return whether all elements are True.
9426+
DataFrame.any : Return whether any element is True over requested axis.
9427+
DataFrame.all : Return whether all elements are True over requested axis.
94249428
"""
94259429

94269430
_any_desc = """\

0 commit comments

Comments
 (0)