摘要: (Numpy中ndarray和array的区别是什么?我在哪儿能够找到numpy中相应的实现?) 答:Well, np.array is just a convenience function to create an ndarray, it is not a class itself. (嗯,np 阅读全文
posted @ 2018-06-21 17:33 dylan9 阅读(2677) 评论(0) 推荐(0) 编辑
摘要: 进程池: 进程池的使用有四种方式:apply_async、apply、map_async、map。其中apply_async和map_async是异步的,也就是启动进程函数之后会继续执行后续的代码不用等待进程函数返回。apply_async和map_async方式提供了一写获取进程函数状态的函数:r 阅读全文
posted @ 2018-06-21 10:00 dylan9 阅读(9532) 评论(0) 推荐(1) 编辑