摘要: 函数原型:numpy.where(condition[, x, y]) 参数介绍:condition:类似于矩阵,布尔值。当其值为True时,从x中选定值,否则,从y中选择值 x,y:类似于矩阵,可选参数。根据condition的值来决定从x或y中取值 返回值:ndarray或者ndarrays的元 阅读全文
posted @ 2018-08-27 16:11 Latuper 阅读(741) 评论(0) 推荐(0) 编辑