What does the Python array value […, :index] mean?

前端 未结 0 1495
隐瞒了意图╮
隐瞒了意图╮ 2021-01-24 09:54
img = img[...,:3]

First, in the code above, many arrays are stored in the img variable.

But I\'m not sure what "img[...,:3]" means.

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