MCPcopy Index your code
hub / github.com/pydata/xarray / _to_dense

Method _to_dense

xarray/core/variable.py:2663–2668  ·  view source on GitHub ↗

Change backend from sparse to np.array.

(self)

Source from the content-addressed store, hash-verified

2661 return cast("Variable", out)
2662
2663 def _to_dense(self) -> Variable:
2664 """
2665 Change backend from sparse to np.array.
2666 """
2667 out = super()._to_dense()
2668 return cast("Variable", out)
2669
2670 def chunk( # type: ignore[override]
2671 self,

Callers 2

test_unstack_sparseMethod · 0.45
test_as_sparseMethod · 0.45

Calls

no outgoing calls

Tested by 2

test_unstack_sparseMethod · 0.36
test_as_sparseMethod · 0.36