Skip to content

Commit

Permalink
simpler language
Browse files Browse the repository at this point in the history
  • Loading branch information
navidcy committed Oct 4, 2024
1 parent d11a373 commit 3512608
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tutorials/Apply_function_to_every_gridpoint.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"```python\n",
"out = data.mean(dim=('time'))\n",
"```\n",
"which would tell xarray to take the mean in the time dimension for every one of the gridpoints.\n",
"which xarray inteprets as to take the mean in the time dimension for every gridpoint.\n",
"\n",
"Some functions, such as ```scipy.stats.linregress```, do not have in-build vectorisation, but you might want to apply a function like this to every gridpoint, and for loops would be slow. \n",
"\n",
Expand Down

0 comments on commit 3512608

Please sign in to comment.