Correct a[a < 5] in ulab-ndarray.ipynb (#678)

This commit is contained in:
page200 2024-08-06 11:07:32 +02:00 committed by GitHub
parent 41c4363f11
commit 99cb54a426
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3270,7 +3270,7 @@
"output_type": "stream",
"text": [
"a:\t array([0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0], dtype=float)\n",
"a < 5:\t array([0.0, 1.0, 2.0, 3.0, 4.0], dtype=float)\n",
"a[a < 5]:\t array([0.0, 1.0, 2.0, 3.0, 4.0], dtype=float)\n",
"\n",
"\n"
]
@ -3283,7 +3283,7 @@
"\n",
"a = np.array(range(9), dtype=np.float)\n",
"print(\"a:\\t\", a)\n",
"print(\"a < 5:\\t\", a[a < 5])"
"print(\"a[a < 5]:\\t\", a[a < 5])"
]
},
{