Let\'s say we have this dataframe in Pandas. In my case, I got it as the result of a pivot_table() with the aggfunc as lambda x: x, because l
pivot_table()
lambda x: x
l