snowflake.snowpark.modin.plugin.extensions.groupby_overrides.DataFrameGroupBy.quantile

DataFrameGroupBy.quantile(q=0.5, interpolation='linear')[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.26.0/snowpark-python/src/snowflake/snowpark/modin/plugin/extensions/groupby_overrides.py#L807-L814)

Return group values at the given quantile, like numpy.percentile.

Parameters:
  • q (float or array-like, default 0.5 (50% quantile)) – Value(s) between 0 and 1 providing the quantile(s) to compute.

  • interpolation ({'linear', 'lower', 'higher', 'midpoint', 'nearest'}) –

    Method to use when the desired quantile falls between two points.

    Snowpark pandas currently only supports “linear” and “nearest”.

  • numeric_only (bool, default False) – Include only float, int or boolean data.

Returns:

Return type determined by caller of GroupBy object.

Return type:

Series or DataFrame

Language: English