I am trying to teach myself NumPy in Jupyter Notebooks:
I have an array called 'study_minutes'
But when trying to access using study_minutes[1, 0]
or study_minutes[(1, 0)]
, I get an error:
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
<ipython-input-1-0fb6eb80a6ee> in <module>
----> 1 study_minutes[1, 1] = 360
NameError: name 'study_minutes' is not defined
The source code from the tutorial I am using gives the same error,
Any idea why guys? I am stumped
Many thanks,