(temp_hdfstore)
| 661 | |
| 662 | |
| 663 | def test_coordinates(temp_hdfstore): |
| 664 | df = DataFrame( |
| 665 | np.random.default_rng(2).standard_normal((10, 4)), |
| 666 | columns=Index(list("ABCD")), |
| 667 | index=date_range("2000-01-01", periods=10, freq="B"), |
| 668 | ) |
| 669 | |
| 670 | store = temp_hdfstore |
| 671 | store.append("df", df) |
| 672 | |
| 673 | # all |
| 674 | c = store.select_as_coordinates("df") |
| 675 | assert (c.values == np.arange(len(df.index))).all() |
| 676 | |
| 677 | |
| 678 | def test_coordinates2(temp_hdfstore): |
nothing calls this directly
no test coverage detected