For users
apply_ufunc
For developers/contributors
Community
DataArray.
values
The array’s data as a numpy.ndarray.
If the array’s data is not a numpy.ndarray this will attempt to convert it naively using np.array(), which will raise an error if the array type does not support coercion like this (e.g. cupy).
previous
xarray.DataArray
next
xarray.DataArray.data