test = np.array([[1,2,3],[4,5,6]])print('\n当前数组\n{}'.format(test))print('返回当前维度\n{}'.format(test.ndim))print('返回一个包含数组纬度的元组(行,列)\n{}'.format(test.shape))print('返回元素的类型\n{}'.format(test.dtype))print('返回元素的个数\n{}'.format(test.size))print('返回每个元素的大小,以字节为单位 ,每个元素占4个字节\n{}'.format(test.itemsize))