Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

02.09-Structured-Data-NumPy missing numpy import. #4

Closed
GrahamDumpleton opened this issue Nov 19, 2016 · 0 comments
Closed

02.09-Structured-Data-NumPy missing numpy import. #4

GrahamDumpleton opened this issue Nov 19, 2016 · 0 comments

Comments

@GrahamDumpleton
Copy link

Notebook 02.09-Structured-Data-NumPy is missing numpy import.

name = ['Alice', 'Bob', 'Cathy', 'Doug']
age = [25, 45, 37, 19]
weight = [55.0, 85.5, 68.0, 61.5]
In [2]:

x = np.zeros(4, dtype=int)

NameErrorTraceback (most recent call last)
<ipython-input-2-f437a7cb5a38> in <module>()
----> 1 x = np.zeros(4, dtype=int)

NameError: name 'np' is not defined
@jakevdp jakevdp closed this as completed Nov 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants