报错信息:
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.
可能由于你的列表中的列表长度不一致引起,改为相同长度后解决。
list to array 报错 VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences
最新推荐文章于 2024-03-11 11:18:03 发布
关键词由CSDN通过智能技术生成