W3cubDocs

/pandas 0.23

pandas.Series.mode

Series.mode() [source]

Return the mode(s) of the dataset.

Always returns Series even if only one value is returned.

Returns:
modes : Series (sorted)

© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
http://pandas.pydata.org/pandas-docs/version/0.23.4/generated/pandas.Series.mode.html