numpy 操作

1.take

take(2,1) 取每行的第2个元素

take(2,0) 表示取第几行

 

posted @ 2022-09-17 11:54  写代码的小哥哥  阅读(33)  评论(0)    收藏  举报