From 11e2aa4f1210edc8bf806d458ef3c8477c2e634e Mon Sep 17 00:00:00 2001 From: Negin Sobhani Date: Mon, 1 Jul 2024 18:29:38 -0600 Subject: [PATCH] update docs --- intermediate/indexing/advanced-indexing.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/intermediate/indexing/advanced-indexing.ipynb b/intermediate/indexing/advanced-indexing.ipynb index 2516f1f6..ada9a69b 100644 --- a/intermediate/indexing/advanced-indexing.ipynb +++ b/intermediate/indexing/advanced-indexing.ipynb @@ -19,7 +19,7 @@ "source": [ "## Overview\n", "\n", - "In the previous notebooks, we learned basic forms of indexing with Xarray, including positional and label-based indexing, datetime indexing, and nearest neighbor lookups. We also learned that indexing an Xarray DataArray directly works (mostly) like it does for NumPy arrays; however, Xarray indexing behvaior deviates from NumPy when using multiple arrays for indexing, like `arr[[0, 1], [0, 1]]`.\n", + "In the previous notebooks, we learned basic forms of indexing with Xarray, including positional and label-based indexing, datetime indexing, and nearest neighbor lookups. We also learned that indexing an Xarray DataArray directly works (mostly) like it does for NumPy arrays; however, Xarray indexing behavior deviates from NumPy when using multiple arrays for indexing, like `arr[[0, 1], [0, 1]]`.\n", "\n", "To better understand this difference, let's take a look at an example of 2D 5x5 array:" ] @@ -60,7 +60,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "Now, let's see how the indexing behavior is different between NumPy array and Xarray DataArray when indexing with mutliple arrays:" + "Now, let's see how the indexing behavior is different between NumPy array and Xarray DataArray when indexing with multiple arrays:" ] }, {