How to make 2D jagged array using NumPy

后端 未结 0 1125
花落未央
花落未央 2020-12-06 14:16

I want to make a 2D array that in the first row has 2 elements, in the second row has 4 elements, and in the third row has 6. Below is my code:

jagged_array =         


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