Pandas offset aliases for resample: ME, MS, and other codes

Pandas offset aliases for resample: ME, MS, and other codes

Using resample in Python Pandas? You’ll want a list of “offset aliases,” the codes that let you specify units.

Some are surprising, such as “ME” and “MS” for “month end” and “month start”.

They’re at: https://pandas.pydata.org/docs/user_guide/timeseries.html#offset-aliases