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

1.numpy-beginner.ipynb 勘误 #6

Open
vbirdchong opened this issue Nov 27, 2019 · 1 comment
Open

1.numpy-beginner.ipynb 勘误 #6

vbirdchong opened this issue Nov 27, 2019 · 1 comment

Comments

@vbirdchong
Copy link

In [104]:
x = [[1,3,3],
[7,5,2]]
print(np.argmax(x,axis=0))

这里的axis=0应修改为:
axis=1
否则与说明不符

@Toyosie
Copy link

Toyosie commented Jan 2, 2020

i'm a beginner to jupyter notebooks and data science, numpy...
i tried this on my jupyter notebook:

"""import numpy as np
a= np.array([1,2,3,4])
print(a)"""

and it showed me this error:

NameError Traceback (most recent call last)
in
----> 1 import numpy as np
2 a= np.array([1,2,3,4])
3 print(a)

~\numpy.py in
32 {
33 "cell_type": "code",
---> 34 "execution_count": null,
35 "metadata": {},
36 "outputs": [],

NameError: name 'null' is not defined

please help
thank you.

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