笔记:对numpy中shape的理解
环境:Windows, Python2.7
一维情况:
>>> import numpy as np
>>> a = np.array([2,3,33])
>>> a
array([ 2 3 33 ])
>>> print a
[ 2 3 33 ]
>>> a.shape
(3, )
一维情况
原创
2017-03-28 11:12:32 ·
59109 阅读 ·
6 评论