# show_ndarray_multiattribute.py
import numpy as np  
a = np.arange(12).reshape(2,6)
print(a)
print ("数组元素类型：", a.dtype)
print ("数组元素个数：", a.size)
print ("数组每个元素大小：", a.itemsize)
print ("数组形状：", a.shape)
print ("数组维度：", a.ndim)

