How do numpy.roll the elements of a single index in a 2d array?

后端 未结 0 1934
情书的邮戳
情书的邮戳 2020-12-12 08:29

I have a numpy array shaped as (512, 2) and I wish to roll the 512 elements left by 3 of the 2nd index of the 2nd dimension.

Wondering what is the fastest and most co

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