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

Method test_extension_array_reindex_same

xarray/tests/test_dataset.py:1962–1966  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1960
1961 @requires_pyarrow
1962 def test_extension_array_reindex_same(self) -> None:
1963 series = pd.Series([1, 2, pd.NA, 3], dtype="int32[pyarrow]")
1964 test = xr.Dataset({"test": series})
1965 res = test.reindex(dim_0=series.index)
1966 align(res, test, join="exact")
1967
1968 def test_categorical_multiindex(self) -> None:
1969 i1 = pd.Series([0, 0])

Callers

nothing calls this directly

Calls 2

reindexMethod · 0.95
alignFunction · 0.90

Tested by

no test coverage detected