首页 > 其他分享 >dataframe画图

dataframe画图

时间:2022-11-04 15:44:49浏览次数:88  
标签:plt old 画图 dataframe score new data

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)

https://blog.51cto.com/u_14346314/5615499

标签:plt,old,画图,dataframe,score,new,data
From: https://www.cnblogs.com/marklong/p/16858031.html

相关文章