diff --git a/xarray/core/dataarray.py b/xarray/core/dataarray.py index a13d4252abe..64f02fa3b44 100644 --- a/xarray/core/dataarray.py +++ b/xarray/core/dataarray.py @@ -763,13 +763,13 @@ def values(self) -> np.ndarray: """ The array's data converted to numpy.ndarray. - Note that this array is not copied; operations on it follow - numpy's rules of what generates a view vs. a copy, and changes - to this array may be reflected in the DataArray as well. - This will attempt to convert the array naively using np.array(), which will raise an error if the array type does not support coercion like this (e.g. cupy). + + Note that this array is not copied; operations on it follow + numpy's rules of what generates a view vs. a copy, and changes + to this array may be reflected in the DataArray as well. """ return self.variable.values