numpy reshape() python

the -1 means that autofit

array_object.reshape(1,-1)转化成1行

array_object.reshape(-1,1)转化成1列

posted @ 2022-11-06 20:49  杜明睿Miguel  阅读(36)  评论(0)    收藏  举报