We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59da0f9 commit 30f09eaCopy full SHA for 30f09ea
pandas/core/generic.py
@@ -842,8 +842,8 @@ def __contains__(self, key):
842
843
@property
844
def empty(self):
845
- """True if NDFrame is entirely empty [no items], i.e. any of the axes
846
- are of length 0.
+ """True if NDFrame is entirely empty [no items], meaning any of the
+ axes are of length 0.
847
848
Notes
849
-----
@@ -874,6 +874,10 @@ def empty(self):
874
>>> df.dropna().empty
875
True
876
877
+ See also
878
+ --------
879
+ pandas.Series.dropna
880
+ pandas.DataFrame.dropna
881
"""
882
return not all(len(self._get_axis(a)) > 0 for a in self._AXIS_ORDERS)
883
0 commit comments