摘要: 1. 初始化 numpy数组即numpy的ndarray对象,创建numpy数组就是把一个列表传入np.array()方法。 下面介绍4种方法: 从Python中的列表、元组等类型创建ndarray数组。 x = np.array(list/tuple) x = np.array(list/tupl 阅读全文
posted @ 2023-11-10 17:51 乐池 阅读(108) 评论(0) 推荐(0)