Skip to content

Commit

Permalink
update numpy exercises and solutions comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdbourke committed May 29, 2020
1 parent 3f4fde7 commit b9e7141
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1148,7 +1148,7 @@
}
],
"source": [
"# Find the indexes with the maximum values down the verticial axis\n",
"# Find the indexes with the maximum values down the 1st axis (axis=1)\n",
"# of one of the arrays you created\n",
"np.argmax(mat5, axis=1)"
]
Expand All @@ -1170,7 +1170,7 @@
}
],
"source": [
"# Find the indexes with the minimum values across the horizontal axis\n",
"# Find the indexes with the minimum values across the 0th axis (axis=0)\n",
"# of one of the arrays you created\n",
"np.argmin(mat6, axis=0)"
]
Expand Down
4 changes: 2 additions & 2 deletions section-2-data-science-and-ml-tools/numpy-exercises.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@
"metadata": {},
"outputs": [],
"source": [
"# Find the indexes with the maximum values down the verticial axis\n",
"# Find the indexes with the maximum values down the 1st axis (axis=1)\n",
"# of one of the arrays you created\n"
]
},
Expand All @@ -539,7 +539,7 @@
"metadata": {},
"outputs": [],
"source": [
"# Find the indexes with the minimum values across the horizontal axis\n",
"# Find the indexes with the minimum values across the 0th axis (axis=0)\n",
"# of one of the arrays you created\n"
]
},
Expand Down

0 comments on commit b9e7141

Please sign in to comment.