class documentation

class TestAverage: (source)

View In Hierarchy

Undocumented

Method test_average_class_without_dtype Undocumented
Method test_basic Undocumented
Method test_basic_keepdims Undocumented
Method test_object_dtype Undocumented
Method test_returned Undocumented
Method test_subclasses Undocumented
Method test_upcasting Undocumented
Method test_weights Undocumented
def test_average_class_without_dtype(self): (source)

Undocumented

def test_basic(self): (source)

Undocumented

@pytest.mark.parametrize('x, axis, expected_avg, weights, expected_wavg, expected_wsum', [([1, 2, 3], None, [2.0], [3, 4, 1], [1.75], [8.0]), ([[1, 2, 5], [1, 6, 11]], 0, [[1.0, 4.0, 8.0]], [1, 3], [[1.0, 5.0, 9.5]], [[4, 4, 4]])])
def test_basic_keepdims(self, x, axis, expected_avg, weights, expected_wavg, expected_wsum): (source)

Undocumented

def test_object_dtype(self): (source)

Undocumented

def test_returned(self): (source)

Undocumented

def test_subclasses(self): (source)

Undocumented

def test_upcasting(self): (source)

Undocumented

def test_weights(self): (source)

Undocumented