I have a nested hearders in a dataframe after pivoting it and I’d like to make it flat, with repeated item on each rows (like in a excel) May you help me ? where I’d like to get a flat header and reapeated rows : many thanks Nico Answer You need to use droplevel(0) which will remove the top level