groupby计数_折线图
date_count = data[['cust_isn','last_etl_acg_dt']].groupby('last_etl_acg_dt',as_index=False).count()
plt.figure(figsize=[12,6])
plt.plot(date_count.iloc[:,0],date_count.iloc[:,1],'.-')
plt.xticks(rotation=45)
plt.grid()
plt.ylim([0,200000])
plt.show()
来源:CSDN
作者:御剑归一
链接:https://blog.csdn.net/wj1298250240/article/details/103477465