swat.cas.table.CASTable.quantile

CASTable.quantile(q=0.5, axis=0, numeric_only=True, interpolation='nearest', casout=None, **kwargs)

Return values at the given quantile

Parameters:
q : float, optional

The quantiles to compute (0 <= q <= 1).

axis : int, optional

Not implemented.

numeric_only : boolean, optional

Include only numeric columns.

interpolation : string, optional

Only ‘nearest’ is supported.

casout : bool or string or dict or CASTable, optional

Indicates the CAS output table to use for output. NOTE: This is only use if by groups are used.

Returns:
pandas.Series

If no By groups are specified, or only a single quantile is requested.

pandas.Dataframe

If By groups are specified.