numpy - index behavior difference between P[(n),(m)] and P[[n],[m]]

前端 未结 0 1452
日久生厌
日久生厌 2021-02-19 06:48

Question

What is the difference between P[(n),(m)] and P[[n],[m]]? I had thought they both to select one element, hence a scalar but ()<

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