i am trying to create a set of day-of-week boxplots for a timeseries (e.g. 5-minute temperature observations).
My code:
# ts is our timeseries ts = df.S
import locale, calendar # for example pl_PL locale.setlocale(locale.LC_ALL, 'pl_PL.UTF-8') x = x.rename_axis(lambda x: calendar.day_abbr[x].capitalize())