MCPcopy
hub / github.com/pandas-dev/pandas / test_numpy_transpose

Function test_numpy_transpose

pandas/tests/base/test_transpose.py:25–31  ·  view source on GitHub ↗
(index_or_series_obj)

Source from the content-addressed store, hash-verified

23
24
25def test_numpy_transpose(index_or_series_obj):
26 msg = "the 'axes' parameter is not supported"
27 obj = index_or_series_obj
28 tm.assert_equal(np.transpose(obj), obj)
29
30 with pytest.raises(ValueError, match=msg):
31 np.transpose(obj, axes=1)
32
33
34@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 2

transposeMethod · 0.45
raisesMethod · 0.45

Tested by

no test coverage detected