How to count groups of certain value in a numpy 1d array?

后端 未结 0 915
说谎
说谎 2020-12-21 16:16

I have a numpy 1d arrays with boolean values, that looks like

array_in = np.array([False, True, True, True, False, False, True, True, False])

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