(self)
| 77 | # display an Xarray RangeIndex shouldn't trigger memory expensive conversion |
| 78 | # of its lazy coordinate into a numpy array |
| 79 | def setup(self): |
| 80 | index = xr.indexes.RangeIndex.arange(1_000_000, dim="x") |
| 81 | self.ds = xr.Dataset(coords=xr.Coordinates.from_xindex(index)) |
| 82 | |
| 83 | def time_repr(self): |
| 84 | repr(self.ds.x) |
nothing calls this directly
no test coverage detected