操作 numpy 数组的常用函数
摘要:
操作 numpy 数组的常用函数 where 使用 where 函数能将索引掩码转换成索引位置: diag 使用 diag 函数能够提取出数组的对角线: take take 函数与高级索引(fancy indexing)用法相似: 但是 take 也可以用在 list 和其它对象上: choose 阅读全文
posted @ 2017-03-04 15:22 吃咯 阅读(14998) 评论(0) 推荐(0) 编辑