摘要: 转载自https://www.cnblogs.com/massquantity/p/8908859.html#4072620 numpy.where() 有两种用法: 1. np.where(condition, x, y) 满足条件(condition),输出x,不满足输出y。如果是一维数组,相当 阅读全文
posted @ 2018-09-20 21:14 wuzeyuan 阅读(1410) 评论(0) 推荐(0) 编辑