Python np.where has odd brackets

后端 未结 0 934
时光说笑
时光说笑 2021-01-23 05:36

I was wondering if there was some way in python to get rid of these extra brackets. example:

In [211]: a = np.array([1,3,4,6])

In [221]: np.where(a > 1)
Out[2         


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