Skip to content

Commit 97ac4a6

Browse files
committed
load_dataset is not removed yet
it's still deprecated, but we'll leave it for a bit longer before removal.
1 parent da6da8d commit 97ac4a6

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

xarray/tutorial.py

+5-4
Original file line numberDiff line numberDiff line change
@@ -91,16 +91,17 @@ def open_dataset(name, cache=True, cache_dir=_default_cache_dir,
9191

9292
def load_dataset(*args, **kwargs):
9393
"""
94-
`load_dataset` will be removed in version 0.12. The current behavior of
95-
this function can be achived by using `tutorial.open_dataset(...).load()`.
94+
`load_dataset` is deprecated and will be removed in a future version.
95+
The current behavior of this function can be achived by using
96+
`tutorial.open_dataset(...).load()`.
9697
9798
See Also
9899
--------
99100
open_dataset
100101
"""
101102
warnings.warn(
102-
"load_dataset` will be removed in xarray version 0.12. The current "
103-
"behavior of this function can be achived by using "
103+
"load_dataset` will be removed in a future version of Xarray. "
104+
"The current behavior of this function can be achived by using "
104105
"`tutorial.open_dataset(...).load()`.",
105106
DeprecationWarning, stacklevel=2)
106107
return open_dataset(*args, **kwargs).load()

0 commit comments

Comments
 (0)