(self)
| 3884 | assert not hasattr(array, "nbytes") |
| 3885 | |
| 3886 | def test_to_and_from_empty_series(self) -> None: |
| 3887 | # GH697 |
| 3888 | expected: pd.Series[Any] = pd.Series([], dtype=np.float64) |
| 3889 | da = DataArray.from_series(expected) |
| 3890 | assert len(da) == 0 |
| 3891 | actual = da.to_series() |
| 3892 | assert len(actual) == 0 |
| 3893 | assert expected.equals(actual) |
| 3894 | |
| 3895 | def test_series_categorical_index(self) -> None: |
| 3896 | # regression test for GH700 |
nothing calls this directly
no test coverage detected