dask.dataframe.DataFrame.quantile#
- DataFrame.quantile(q=0.5, axis=0, numeric_only=False, method='default')[source]#
Approximate row-wise and precise column-wise quantiles of DataFrame
- Parameters:
- qlist/array of floats, default 0.5 (50%)
Iterable of numbers ranging from 0 to 1 for the desired quantiles
- axis{0, 1, âindexâ, âcolumnsâ} (default 0)
0 or âindexâ for row-wise, 1 or âcolumnsâ for column-wise
- method{âdefaultâ, âtdigestâ, âdaskâ}, optional
What method to use. By default will use daskâs internal custom algorithm (
'dask'). If set to'tdigest'will use tdigest for floats and ints and fallback to the'dask'otherwise.