size ()和shape () 是numpy模块中才有的函数. size():计算数组和矩阵所有数据的个数 a = np.array([[1,2,3],[4,5,6]]) np.size(a),返回值为6
確定! 回上一頁