Accessing the j-th element in every row of a 2D numpy array via colon operator?

前端 未结 0 464
清酒与你
清酒与你 2020-12-04 01:36

Given a 2D numpy array a, I can access the j-th element in every row like this:

>>> import numpy          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题