dataframe画图
import matplotlib.pyplot as plt
新老分数的密度图
data_score = data[['old_score','new_score']]
data_score.plot(kind="kde",color=['lightcoral','lightslategrey'],lw=3)
plt.tight_layout()
plt.savefig("old_score、new_score的核密度图",dpi=300)
import seaborn as sns
sns.displot(data_score_cha)