bigframes.pandas.Series.mode#

Series.mode() Series[source]#

Return the mode(s) of the Series.

The mode is the value that appears most often. There can be multiple modes.

Always returns Series even if only one value is returned.

Examples:

>>> s = bpd.Series([2, 4, 8, 2, 4, None])
>>> s.mode()
0    2.0
1    4.0
dtype: Float64
Returns:

Modes of the Series in sorted order.

Return type:

bigframes.pandas.Series