您要
reshape
B = np.reshape(A, (-1, 2))
其中
-1
上一篇 python中的内存错误
下一篇 ttk treeview:备用行颜色
版权所有 (c)2021-2022 MSHXW.COM
ICP备案号:晋ICP备2021003244-6号