bigframes.pandas.api.typing.SeriesGroupBy.quantile#
- SeriesGroupBy.quantile(q: float | Sequence[float] = 0.5, *, numeric_only: bool = False) Series[source]#
Return group values at the given quantile, a la numpy.percentile.
Examples:
>>> import bigframes.pandas as bpd >>> df = bpd.DataFrame([ ... ['a', 1], ['a', 2], ['a', 3], ... ['b', 1], ['b', 3], ['b', 5] ... ], columns=['key', 'val']) >>> df.groupby('key').quantile() val key a 2.0 b 3.0 [2 rows x 1 columns]
- Parameters:
- Returns:
Return type determined by caller of GroupBy object.
- Return type: