bigframes.geopandas.GeoSeries.quantile#

GeoSeries.quantile(q:float|Sequence[float]=0.5)Series|float#

Return value at the given quantile.

Examples:

>>>importbigframes.pandasasbpd>>>s=bpd.Series([1,2,3,4])>>>s.quantile(.5)np.float64(2.5)
>>>s.quantile([.25,.5,.75])0.25    1.750.5      2.50.75    3.25dtype: Float64
Parameters:

q (Union[float,Sequence[float],default 0.5 (50% quantile)) – The quantile(s) to compute, which can lie in range: 0 <= q <= 1.

Returns:

Ifq is an array, a Series will be returned where theindex isq and the values are the quantiles, otherwisea float will be returned.

Return type:

Union[float,bigframes.pandas.Series]

This Page