On this page
pandas.Series.mode
Series.mode(dropna=True)
[source]-
Return the mode(s) of the dataset.
Always returns Series even if only one value is returned.
Parameters: -
dropna : boolean, default True
-
Don’t consider counts of NaN/NaT.
New in version 0.24.0.
Returns: -
modes : Series (sorted)
-
© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/0.24.2/reference/api/pandas.Series.mode.html