Skip to content

A few minor changes to fix a typo, broken link, and some deprecations #322

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jul 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion fundamentals/02.2_manipulating_dimensions.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
" dims=(\"x\", \"y\"),\n",
" coords={\n",
" \"x\": [-3.2, 2.1, 5.3, 6.5],\n",
" \"y\": pd.date_range(\"2009-01-05\", periods=6, freq=\"M\"),\n",
" \"y\": pd.date_range(\"2009-01-05\", periods=6, freq=\"ME\"),\n",
" },\n",
")\n",
"arr"
Expand Down
4 changes: 2 additions & 2 deletions fundamentals/03.2_groupby_with_xarray.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@
"metadata": {},
"outputs": [],
"source": [
"resample_obj = ds_anom.resample(time=\"5Y\")\n",
"resample_obj = ds_anom.resample(time=\"5YE\")\n",
"resample_obj"
]
},
Expand Down Expand Up @@ -593,7 +593,7 @@
":::{admonition} Solution\n",
":class: dropdown\n",
"```python\n",
"resampled = ds.resample(time='Y').mean().sst.sel(lon=300, lat=50)\n",
"resampled = ds.resample(time='YE').mean().sst.sel(lon=300, lat=50)\n",
"resampled.plot();\n",
"```\n",
":::\n",
Expand Down
2 changes: 1 addition & 1 deletion fundamentals/05_intro_to_dask.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
"A crucal difference with Dask is that we must specify the `chunks` argument.\n",
"\"Chunks\" describes how the array is split up over many sub-arrays.\n",
"\n",
"![Dask Arrays](http://docs.dask.org/en/latest/_images/dask-array-black-text.svg)\n",
"![Dask Arrays](https://docs.dask.org/en/latest/_images/dask-array.svg)\n",
"_source:\n",
"[Dask Array Documentation](http://docs.dask.org/en/latest/array-overview.html)_\n",
"\n",
Expand Down
4 changes: 2 additions & 2 deletions overview/xarray-in-45-min.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@
"source": [
"### Broadcasting: expanding data\n",
"\n",
"Our longitude and latitude length DataArrays are both 1D with different dimension names. If we multiple these DataArrays together the dimensionality is expanded to 2D by _broadcasting_:"
"Our longitude and latitude length DataArrays are both 1D with different dimension names. If we multiply these DataArrays together the dimensionality is expanded to 2D by _broadcasting_:"
]
},
{
Expand Down Expand Up @@ -822,7 +822,7 @@
"outputs": [],
"source": [
"# resample to monthly frequency\n",
"ds.resample(time=\"M\").mean()"
"ds.resample(time=\"ME\").mean()"
]
},
{
Expand Down
Loading