dask.dataframe.Series.median

dask.dataframe.Series.median

Series.median(method='default')[source]

Return the median of the values over the requested axis.

This docstring was copied from pandas.core.series.Series.median.

Some inconsistencies with the Dask version may exist.

Parameters
axis{index (0)} (Not supported in Dask)

Axis for the function to be applied on. For Series this parameter is unused and defaults to 0.

For DataFrames, specifying axis=None will apply the aggregation across both axes.

New in version 2.0.0.

skipnabool, default True (Not supported in Dask)

Exclude NA/null values when computing the result.

numeric_onlybool, default False (Not supported in Dask)

Include only float, int, boolean columns. Not implemented for Series.

**kwargs

Additional keyword arguments to be passed to the function.

Returns
scalar or scalar