摘要: 1.全0数组 np.zeros(shape, dtype=float, order='C') 指定长度的一维数组 >>> np.zeros(5) array([ 0., 0., 0., 0., 0.]) 二维数组 >>> np.zeros((2, 1)) array([[ 0.], [ 0.]]) 阅读全文
posted @ 2019-10-19 23:58 二豆玩数据 阅读(106) 评论(0) 推荐(0) 编辑