class documentation

class TestQuantile:

View In Hierarchy

Undocumented

Method test​_basic Undocumented
Method test​_correct​_quantile​_value Undocumented
Method test​_fraction Undocumented
Method test​_max​_ulp Undocumented
Method test​_no​_p​_overwrite Undocumented
Method test​_quantile​_monotonic Undocumented
Method test​_quantile​_monotonic​_hypo Undocumented
Method test​_quantile​_preserve​_int​_type Undocumented
Method test​_quantile​_scalar​_nan Undocumented
def test_basic(self):

Undocumented

@pytest.mark.xfail(reason='See gh-19154')
def test_correct_quantile_value(self):

Undocumented

def test_fraction(self):

Undocumented

def test_max_ulp(self):

Undocumented

def test_no_p_overwrite(self):

Undocumented

@pytest.mark.parametrize('method', ['inverted_cdf', 'averaged_inverted_cdf', 'closest_observation', 'interpolated_inverted_cdf', 'hazen', 'weibull', 'linear', 'median_unbiased', 'normal_unbiased', 'nearest', 'lower', 'higher', 'midpoint'])
def test_quantile_monotonic(self, method):

Undocumented

@hypothesis.given(arr=arrays(dtype=np.float64, shape=st.integers(min_value=3, max_value=1000), elements=st.floats(allow_infinity=False, allow_nan=False, min_value=-1e+300, max_value=1e+300)))
def test_quantile_monotonic_hypo(self, arr):

Undocumented

@pytest.mark.parametrize('dtype', np.typecodes['AllInteger'])
def test_quantile_preserve_int_type(self, dtype):

Undocumented

def test_quantile_scalar_nan(self):

Undocumented