np.where(条件),若条件满足,返回索引值
np.where(条件,x,y),若条件满足,返回x,否则返回y
numpy中的np.where()函数
猜你喜欢
转载自blog.csdn.net/qq_41940950/article/details/102457897
今日推荐
周排行