Python运行时出现错误是什么原因?
- 内容介绍
- 文章标签
- 相关推荐
本文共计295个文字,预计阅读时间需要2分钟。
numpy.array可以使用shape属性。list不能使用shape属性。可以使用np.array(list+A)进行转换。array转list:array+B.tolist()即可。补充知识:Pandas使用DataFrame出现错误:AttributeError: 'list' object has no attribute 'DataFrame'
numpy.array可使用 shape。list不能使用shape。
可以使用np.array(list A)进行转换。
本文共计295个文字,预计阅读时间需要2分钟。
numpy.array可以使用shape属性。list不能使用shape属性。可以使用np.array(list+A)进行转换。array转list:array+B.tolist()即可。补充知识:Pandas使用DataFrame出现错误:AttributeError: 'list' object has no attribute 'DataFrame'
numpy.array可使用 shape。list不能使用shape。
可以使用np.array(list A)进行转换。

