Skip to content

Commit 30f09ea

Browse files
committed
Add see also section and replace i.e. with meaning
1 parent 59da0f9 commit 30f09ea

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

pandas/core/generic.py

+6-2
Original file line numberDiff line numberDiff line change
@@ -842,8 +842,8 @@ def __contains__(self, key):
842842

843843
@property
844844
def empty(self):
845-
"""True if NDFrame is entirely empty [no items], i.e. any of the axes
846-
are of length 0.
845+
"""True if NDFrame is entirely empty [no items], meaning any of the
846+
axes are of length 0.
847847
848848
Notes
849849
-----
@@ -874,6 +874,10 @@ def empty(self):
874874
>>> df.dropna().empty
875875
True
876876
877+
See also
878+
--------
879+
pandas.Series.dropna
880+
pandas.DataFrame.dropna
877881
"""
878882
return not all(len(self._get_axis(a)) > 0 for a in self._AXIS_ORDERS)
879883

0 commit comments

Comments
 (0)