写了一段淘宝用户时间和点击广告关系的代码,跑出来是一个的一个极小时间段的,但是原始数据的介绍是一周的数据。有木有大佬帮忙看看是什么问题呀~
`clk_d=df.groupby(‘time_stamp’)[‘user’].count().reset_index().rename(columns={‘user’:‘clk’})
import matplotlib.pyplot as plt
%matplotlib inline
fig,axes=plt.subplots(2,1,sharex=True)
clk_d.plot(x=‘time_stamp’,y=‘clk’,ax=axes[0],color=‘green’)
plt.xticks(rotation=60)
axes[0].set_title(‘clk_daily’)
2020-06-15

相关文章:

  • 2021-06-18
  • 2021-09-04
  • 2021-05-02
  • 2022-01-20
  • 2021-10-20
猜你喜欢
  • 2021-11-08
相关资源
相似解决方案