human
How to update a subset of a MultiIndexed pandas DataFrame
assistant
Here is some code to add a column 'day' with value 'sat' to dataframe `df`

df.xs('sat', level='day', drop_level=False)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.