LernerPython 博客,作者 Reuven Lern... 笔记

LernerPython 博客,作者 Reuven Lerner:Pandas 重采样偏移量别名:ME、MS 及其他代码

在 Python 的 Pandas 中使用 resample?您需要一个“偏移量别名”列表,这些代码可用于指定时间单位。其中一些令人意外,例如"ME"和"MS"分别代表“月末”和“月初”。它们位于:https://pandas.pydata.org/docs/user_guide/timeseries.html#offset-aliases
CdXz5zHNQW_knVmIwe19q.png