Therefore, if you’re working in a new Python session, make sure to load the module with:
import numpy
But the subsequent code block then refers to data, which will not be defined if the learner (or instructor) is in a new Python session.
I'd suggest that either this section should re-load the data, or the quoted section should be removed, for consistency. (My personal preference would be the former.)
Episode 7 includes the text
But the subsequent code block then refers to
data
, which will not be defined if the learner (or instructor) is in a new Python session.I'd suggest that either this section should re-load the
data
, or the quoted section should be removed, for consistency. (My personal preference would be the former.)