问题答案:
>>> import numpy as np>>> first_answer = np.transpose(a)>>> second_answer = [list(i) for i in zip(*a)]
感谢AFG的帮助
上一篇 使用ElementTree保存XML文件
下一篇 NotImplementedError:在__init__中带有参数的图层必须覆盖get_config。
版权所有 (c)2021-2022 MSHXW.COM
ICP备案号:晋ICP备2021003244-6号