赞
踩
x=[[25, 2, 3],
[30, 5, 8],
[35, 8, 12],
[28, 3, 4],
[32, 6, 10],
[40, 10, 15],
[45, 12, 20],
[38, 9, 13],
[29, 4, 6],
[33, 7, 11, 8.9]]
x = np.array(x)
print(x)
结果
原因是因为长度不同导致的
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。