Numpy Split 2d Array into 3d Array

前端 未结 0 1974
礼貌的吻别
礼貌的吻别 2021-02-11 20:59

I have 2d numpy array:

arr =
     ([[ 1,  2,  3],
       [ 4,  5,  6],
       [ 7,  8,  9],
       [10, 11, 12],
       [13, 14, 15],
       [16, 17, 18]])


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