Skip to content

Commit 761be0f

Browse files
committed
Updated documentation for mode()
added new line to make the note in a new paragraph
1 parent e9cfaf6 commit 761be0f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pandas/core/frame.py

+1
Original file line numberDiff line numberDiff line change
@@ -4414,6 +4414,7 @@ def mode(self, axis=0, numeric_only=False):
44144414
Gets the mode(s) of each element along the axis selected. Empty if nothing
44154415
has 2+ occurrences. Adds a row for each mode per label, fills in gaps
44164416
with nan.
4417+
44174418
Note that there could be multiple values returned for the selected
44184419
axis (when more than one item share the maximum frequency), which is the
44194420
reason why a dataframe is returned. If you want to impute missing values

0 commit comments

Comments
 (0)