how to get numpy where for 1st True Only

前端 未结 0 1261
清歌不尽
清歌不尽 2021-01-16 18:48

i have array of data as given below.

a=np.array([1,2,3,4,5,6,7,8,1,2,3,4,5,6])

i want to get conditional formatting like a>5<

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