Skip to content

Commit 3081b36

Browse files
committed
typo fix
1 parent 5f18954 commit 3081b36

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

intermediate/indexing/advanced-indexing.ipynb

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
":::{note} Orthogonal indexing with NumPy\n",
116116
":class: dropdown\n",
117117
"\n",
118-
"While Pointwise indexing is the default behavior in NumPy, you can achieve orthogonal indexing by using the [`np.ix_` function](https://numpy.org/doc/stable/reference/generated/numpy.ix_.html). This function constructs an open mesh from multiple arrays, allowing you to index along each dimension independently similar to Xarray indexing behavior. For example: \n",
118+
"While pointwise indexing is the default behavior in NumPy, you can achieve orthogonal indexing by using the [`np.ix_` function](https://numpy.org/doc/stable/reference/generated/numpy.ix_.html). This function constructs an open mesh from multiple arrays, allowing you to index along each dimension independently similar to Xarray indexing behavior. For example: \n",
119119
"\n",
120120
"```python\n",
121121
"ixgrid = np.ix_([0, 2, 4], [0, 2, 4])\n",
@@ -400,6 +400,11 @@
400400
}
401401
],
402402
"metadata": {
403+
"kernelspec": {
404+
"display_name": "Python 3 (ipykernel)",
405+
"language": "python",
406+
"name": "python3"
407+
},
403408
"language_info": {
404409
"codemirror_mode": {
405410
"name": "ipython",
@@ -409,7 +414,7 @@
409414
"mimetype": "text/x-python",
410415
"name": "python",
411416
"nbconvert_exporter": "python",
412-
"pygments_lexer": "ipython3"
417+
"pygments_lexer": "ipython3",
413418
"version": "3.9.18"
414419
},
415420
"toc": {

0 commit comments

Comments
 (0)