(self)
| 2568 | IndexVariable((), 0) |
| 2569 | |
| 2570 | def test_to_index(self): |
| 2571 | data = 0.5 * np.arange(10) |
| 2572 | v = IndexVariable(["time"], data, {"foo": "bar"}) |
| 2573 | assert pd.Index(data, name="time").identical(v.to_index()) |
| 2574 | |
| 2575 | def test_to_index_multiindex_level(self): |
| 2576 | midx = pd.MultiIndex.from_product([["a", "b"], [1, 2]], names=("one", "two")) |
nothing calls this directly
no test coverage detected