You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
269 B

import pandas as pd
import matplotlib.pyplot as plt
#将txt文件转换为csv文件
grandtruth = pd.read_csv("sample_submission.csv")
pred = pd.read_csv("Predictions.csv")
plt.scatter('Id','SalePrice')
#画出散点图
plt.show()
#将散点图显示出来