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

Method setup

asv_bench/benchmarks/polyfit.py:35–38  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

33
34class PolyvalDask(Polyval):
35 def setup(self, *args, **kwargs):
36 requires_dask()
37 super().setup(*args, **kwargs)
38 self.xs = {k: v.chunk({"x": 10000}) for k, v in self.xs.items()}

Callers

nothing calls this directly

Calls 4

requires_daskFunction · 0.85
itemsMethod · 0.80
setupMethod · 0.45
chunkMethod · 0.45

Tested by

no test coverage detected