xarray.DataArray.values#
- property 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).