会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
xfxlesson
博客园
首页
新随笔
联系
订阅
管理
2019年5月27日
numpy.where()的用法
摘要: 1. np.where(condition, x, y) 满足条件(condition),输出x,不满足输出y。 2. np.where(condition) 只有条件 (condition),没有x和y,则输出满足条件 (即非0) 元素的坐标。这里的坐标以tuple的形式给出,通常原数组有多少维,
阅读全文
posted @ 2019-05-27 23:09 xfxlesson
阅读(1342)
评论(0)
推荐(0)
编辑
公告