我有一个数据库,其中有13个功能和1000万行。我想应用k-mean来去除任何异常。我的想法是应用k- mean,用数据点和聚类质心之间的距离创建一个新列,并用平均距离创建一个新列,如果距离大于平均距离,我就删除整个行。但看起来我写的代码不起作用。_engine.get_loc(key)
pandas/_libs/index.pyx in pandas.,
plt.tite('Distance per month')plt.ylabl('distance_kms')plt.show()
这是我的密码_engine.get_loc(casted_key)文件"pandas_libs\index.pyx",第136行,pandas._libs.index.IndexEngine.get_loc文件"pandas_libs\
这是简单地打印股票预测的程序。PycharmProjects/AlphaVantageTest/AlphaVantageTest.py", line 7, in <module>KeyErrorimport TechIndicatorsimport matplotlib.pyplot as plt
# Your key(&qu