Skip to content
This repository was archived by the owner on Aug 29, 2023. It is now read-only.

Commit 6a0f281

Browse files
committed
Fix text in error message, A leftover from pydata#993
1 parent b201ff7 commit 6a0f281

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xarray/core/variable.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ def __setitem__(self, key, value):
417417
raise TypeError("this variable's data is stored in a dask array, "
418418
'which does not support item assignment. To '
419419
'assign to this variable, you must first load it '
420-
'into memory explicitly using the .load_data() '
420+
'into memory explicitly using the .load() '
421421
'method or accessing its .values attribute.')
422422
data = orthogonally_indexable(self._data)
423423
data[key] = value

0 commit comments

Comments
 (0)