np.unique(arr) 返回哪些值是唯一的

np.sum(arr, axis=0 or 1) axis=0时对列求和,axis=1时对行求和

np.max() np.min()等与上同理
arr.reshape(newshape) 或np.reshape(arr, newshape)

arr.T 转置

arr.astype(np.float) 设置类型

相关文章:
-
2021-11-19
-
2022-12-23
-
2021-06-08
-
2022-12-23
-
2021-12-14
-
2022-12-23
猜你喜欢
-
2021-06-06
-
2021-05-02
-
2021-07-03
-
2021-06-18
相关资源
-
下载
2021-06-05
-
下载
2023-01-11
-
下载
2021-06-06