In [13]: import numpy as np In [14]: a = np.zeros(5) In [15]: a Out[15]: array([ 0., 0., 0., 0., 0.]) In [16]: a.dtype Out[16]: dtype('float64') In [17]: a.shape Out[17]: (5,) In [18]: a.ndim Out[18]: 1