(self)
| 6833 | assert isinstance(transposed.time.to_index(), pd.PeriodIndex) |
| 6834 | |
| 6835 | def test_dataset_diff_n1_simple(self) -> None: |
| 6836 | ds = Dataset({"foo": ("x", [5, 5, 6, 6])}) |
| 6837 | actual = ds.diff("x") |
| 6838 | expected = Dataset({"foo": ("x", [0, 1, 0])}) |
| 6839 | assert_equal(expected, actual) |
| 6840 | |
| 6841 | def test_dataset_diff_n1_label(self) -> None: |
| 6842 | ds = Dataset({"foo": ("x", [5, 5, 6, 6])}, {"x": [0, 1, 2, 3]}) |
nothing calls this directly
no test coverage detected