(arr, q)
return numpy.quantile(arr, q)
Calculate quantile of values
Calculate quantile of values
Calculate quantile of values
def arr_quantile(arr, q):
    """Calculate quantile of values"""
    if len(arr) == 0:
        return numpy.nan

    return numpy.quantile(arr, q)
def arr_quantile ( arr , q ) : if len ( arr ) == 0 : return numpy . nan return numpy . quantile ( arr , q )