def _to_dense(self) -> Variable:
        """
        Change backend from sparse to np.array.
        """
        out = super()._to_dense()
        return cast("Variable", out)

        Change backend from sparse to np.array.
        
xarray/core/variable.py