to_numpy

UnitsAwareDataArray.to_numpy() ndarray

Coerces wrapped data to numpy and returns a numpy.ndarray.

See also

DataArray.as_numpy

Same but returns the surrounding DataArray instead.

Dataset.as_numpy, DataArray.values, DataArray.data