赞
踩
报错原因:numpy中元素shape不一致
解决方案:对元素进行统一shape,可以使用指定数值填充法
/opt/conda/envs/common-1/lib/python3.7/site-packages/ipykernel_launcher.py:44:
VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences
(which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths
or shapes) is deprecated. If you meant to do this, you must specify
'dtype=object' when creating the ndarray
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。