MCPcopy Index your code
hub / github.com/pydata/xarray / setUp

Method setUp

xarray/tests/test_variable.py:2955–2957  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2953
2954 @pytest.fixture(autouse=True)
2955 def setUp(self):
2956 self.d = np.random.random((10, 3)).astype(np.float64)
2957 self.cat = PandasExtensionArray(pd.Categorical(["a", "b"] * 5))
2958
2959 async def check_orthogonal_indexing(self, v, load_async):
2960 expected = self.d[[8, 3]][:, [2, 1]]

Callers

nothing calls this directly

Calls 2

astypeMethod · 0.45

Tested by

no test coverage detected