()
| 182 | |
| 183 | |
| 184 | def test_Index(): |
| 185 | for case in [ |
| 186 | pd.DataFrame(np.random.randn(10, 5), index=list("abcdefghij")), |
| 187 | pd.DataFrame( |
| 188 | np.random.randn(10, 5), |
| 189 | index=pd.date_range("2011-01-01", freq="D", periods=10), |
| 190 | ), |
| 191 | ]: |
| 192 | ddf = dd.from_pandas(case, 3) |
| 193 | assert_eq(ddf.index, case.index) |
| 194 | pytest.raises(AttributeError, lambda ddf=ddf: ddf.index.index) |
| 195 | |
| 196 | |
| 197 | def test_axes(): |
nothing calls this directly
no test coverage detected