xorbits.pandas.DataFrame.median#

DataFrame.median(axis: AxisInt | None = 0, skipna: bool_t = True, numeric_only: bool_t = False, **kwargs)#

Return the median of the values over the requested axis.

Parameters
  • axis ({index (0), columns (1)}) –

    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(pandas).

  • skipna (bool, default True) – Exclude NA/null values when computing the result.

  • numeric_only (bool, default False) – Include only float, int, boolean columns. Not implemented for Series.

  • **kwargs – Additional keyword arguments to be passed to the function.

Returns

  • Series or scalar

  • .. warning:: This method has not been implemented yet. Xorbits will try to execute it with pandas.

  • This docstring was copied from pandas.core.frame.DataFrame.