Skip to content

Commit

Permalink
spellcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
dcherian committed Jun 23, 2023
1 parent 7884868 commit 2e100c4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions advanced/apply_ufunc/simple_dask_apply_ufunc.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@
"\n",
"Let's again use the wrapper trick to understand what `squared_error` receives.\n",
"\n",
"We see that it receives a dask array (analagous to the numpy array in the previous example)."
"We see that it receives a dask array (analogous to the numpy array in the previous example)."
]
},
{
Expand Down Expand Up @@ -465,10 +465,10 @@
"user_expressions": []
},
"source": [
"### Understanding whats happening\n",
"### Understanding what is happening\n",
"\n",
"\n",
"It is very important to understand what `dask=\"parallelized\"` does. It is quite convenient and works well for \"blockwise\" or \"emabrassingly parallel\" operations.\n",
"It is very important to understand what `dask=\"parallelized\"` does. It is quite convenient and works well for \"blockwise\" or \"embarrassingly parallel\" operations.\n",
"\n",
"These are operations where one block or chunk of the output array corresponds to one block or chunk of the input array. Specifically, the blocks or chunks of the _core dimension_ is what matters.\n",
"\n",
Expand All @@ -495,7 +495,7 @@
"user_expressions": []
},
"source": [
"The core dimension for `trapz` is `lon`, and there is only one chunk along `lon`. This means that integrating along `lon` is a \"blockwise\" or \"embarassingly parallel\" operation and `dask=\"parallelized\"` works quite well. \n",
"The core dimension for `trapz` is `lon`, and there is only one chunk along `lon`. This means that integrating along `lon` is a \"blockwise\" or \"embarrassingly parallel\" operation and `dask=\"parallelized\"` works quite well. \n",
"\n",
"```{tip} Question\n",
"Do you understand why `integrate(ds)` when `ds` has a single chunk along `lon` is a \"embarassingly parallel\" operation?\n",

Check failure on line 501 in advanced/apply_ufunc/simple_dask_apply_ufunc.ipynb

View workflow job for this annotation

GitHub Actions / quality-control

embarassingly ==> embarrassingly
Expand Down

0 comments on commit 2e100c4

Please sign in to comment.