python數據分析numpy索引切片

import numpy as np arr=np.array([1,2,3,4,5]) arr array([1, 2, 3, 4, 5]) arr.dtype dtype('int32') np.zeros(10) array([ 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.]) np.zeros((3,4)) array([[ 0., 0.
相關文章
相關標籤/搜索