Periodic/Piecewise Mode of a numpy array without for loops

前端 未结 0 1197
隐瞒了意图╮
隐瞒了意图╮ 2020-12-14 04:10

I have the following NumPy array of random integers of a fixed range:

>>> output=np.random.randint(low=1, high=10, size=(8000,))
>>> output
         


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