Skip to content

Commit 19edfb7

Browse files
authored
Merge pull request #11 from UoMResearchIT/10-typo-in-reshaping-numpy-arrays
correct typo in example code
2 parents a63cfbb + de06257 commit 19edfb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_episodes/03-numpy_essential.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ arr = np.arange(1, 18, 2)
9393
arr_2d = arr.reshape((3, 3))
9494
print(f'arr has shape {arr.shape}, and contains:')
9595
print(arr)
96-
print(f'arr_2d has shape {arr2d.shape}, and contains:')
96+
print(f'arr_2d has shape {arr_2d.shape}, and contains:')
9797
print(arr_2d)
9898
~~~
9999
{: .language-python}

0 commit comments

Comments
 (0)