We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5eec4a9 commit c788c89Copy full SHA for c788c89
docs/agnostic/pint.md
@@ -45,7 +45,7 @@ xr.set_options(
45
ds = (
46
xr.tutorial.open_dataset("eraint_uvz")
47
.load()
48
- .assign_coords(months=lambda ds: ds["months"].assign_attrs({"units": "months"}))
+ .assign_coords(month=lambda ds: ds["month"].assign_attrs({"units": "months"}))
49
.assign(windspeed=lambda ds: np.hypot(ds["u"], ds["v"]))
50
)
51
ds
0 commit comments