MCPcopy
hub / github.com/pydata/xarray / setup

Method setup

asv_bench/benchmarks/unstacking.py:27–30  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

25
26class UnstackingDask(Unstacking):
27 def setup(self, *args, **kwargs):
28 requires_dask()
29 super().setup(**kwargs)
30 self.da_full = self.da_full.chunk({"flat_dim": 25})
31
32
33class UnstackingSparse(Unstacking):

Callers

nothing calls this directly

Calls 3

requires_daskFunction · 0.85
setupMethod · 0.45
chunkMethod · 0.45

Tested by

no test coverage detected