(self)
| 22 | |
| 23 | class DatasetChunk: |
| 24 | def setup(self): |
| 25 | requires_dask() |
| 26 | self.ds = Dataset() |
| 27 | array = np.ones(1000) |
| 28 | for i in range(250): |
| 29 | self.ds[f"var{i}"] = ("x", array) |
| 30 | |
| 31 | def time_chunk(self): |
| 32 | self.ds.chunk(x=(1,) * 1000) |
nothing calls this directly
no test coverage detected