Skip to content

Commit

Permalink
Merge pull request #11 from UoMResearchIT/10-typo-in-reshaping-numpy-…
Browse files Browse the repository at this point in the history
…arrays

correct typo in example code
  • Loading branch information
douglowe committed May 15, 2024
2 parents a63cfbb + de06257 commit 19edfb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _episodes/03-numpy_essential.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ arr = np.arange(1, 18, 2)
arr_2d = arr.reshape((3, 3))
print(f'arr has shape {arr.shape}, and contains:')
print(arr)
print(f'arr_2d has shape {arr2d.shape}, and contains:')
print(f'arr_2d has shape {arr_2d.shape}, and contains:')
print(arr_2d)
~~~
{: .language-python}
Expand Down

0 comments on commit 19edfb7

Please sign in to comment.