bundles / numpy 2.4.4 / numpy / lib / _function_base_impl / _quantile
function
numpy.lib._function_base_impl:_quantile
Signature
def _quantile ( arr : np.typing.ArrayLike , quantiles : np.ndarray , axis : int = -1 , method : str = linear , out : np.ndarray | None = None , weights : np.typing.ArrayLike | None = None , weak_q : bool = False ) → np.ndarray Summary
Private function that doesn't support extended axis or keepdims. These methods are extended to this function using _ureduce See nanpercentile for parameter usage It computes the quantiles of the array for the given axis. A linear interpolation is performed based on the method.
Extended Summary
By default, the method is "linear" where alpha == beta == 1 which performs the 7th method of Hyndman&Fan. With "median_unbiased" we get alpha == beta == 1/3 thus the 8th method of Hyndman&Fan.
Aliases
-
numpy.lib._function_base_impl._quantile