xarray.DataArray.as_numpy#
- DataArray.as_numpy()[source]#
Coerces wrapped data and coordinates into numpy arrays, returning a DataArray.
See also
DataArray.to_numpy
Same but returns only the data as a numpy.ndarray object.
Dataset.as_numpy
Converts all variables in a Dataset.