在《小白学python:时间和日期 (time, datetime) (二)》中,我们介绍了pd.date_range()
的使用,其中,
该函数的freq
参数指的是频率,为了方便一般用字符串来表示,即frequency strings,总结如下:
参考链接:https://pandas.pydata.org/pandas-docs/stable/user_guide/timeseries.html
pd.date_range() —— freq参数频率字符串汇总
最新推荐文章于 2022-01-12 10:39:10 发布