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()
![在这里插入图片描述](https://img-blog.csdnimg.cn/20191210160849249.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dqMTI5ODI1MDI0MA==,size_16,color_FFFFFF,t_70)