- 博客(1)
- 收藏
- 关注
翻译 AttributeError: type object ‘object‘ has no attribute ‘dtype‘
在今天的学习中遇到了这个问题 dis_matrix = pd.DataFrame(data=None, columns=range(len(CityCoordinates)), index=range(len(CityCoordinates))) 原因是pandas的版本不符合 可以选择更新pandas版本 或者在该句后面指定 dtype dis_matrix = pd.DataFrame(data=None, columns=range(len(CityCoordinates)), inde
2021-06-24 16:45:29 11883 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人