We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52241a7 commit 3f523f3Copy full SHA for 3f523f3
pandas/core/series.py
@@ -1216,16 +1216,10 @@ def count(self, level=None):
1216
dtype='int64').__finalize__(self)
1217
1218
def mode(self):
1219
- """Returns the mode(s) of the dataset.
+ """Return the mode(s) of the dataset.
1220
1221
- Empty if nothing occurs at least 2 times. Always returns Series even
1222
- if only one value.
1223
-
1224
- Parameters
1225
- ----------
1226
- sort : bool, default True
1227
- If True, will lexicographically sort values, if False skips
1228
- sorting. Result ordering when ``sort=False`` is not defined.
+ Empty if nothing occurs at least 2 times. Always returns Series even
+ if only one value is returned.
1229
1230
Returns
1231
-------
0 commit comments