Numpy 中的数组比Python 原生中的数组(只支持整数类型与浮点类型)强大的一点 ... a = np.arange(3, dtype=np.float16) >>> a array([ 0., 1., 2.]) ...
確定! 回上一頁