Python: Numpy:属性与创建矩阵
附Numpy开发者教学地址:https://docs.scipy.org/doc/numpy/user/quickstart.htmlndarray.ndim:维度ndarray.shape:形状ndarray.size:元素个数ndarray.dtype:元素数据类型ndarray.itemsize:字节大小创建数组:a = np.array([2,23,4]) ...