Replace MultiIndex names for the nth position in all levels
I have about 300 csv files that I want to merge into a single one using pandas. All of them have 3 rows for variable names (project in the first one, Device_1 in the second one and variable in the third one). The first column goes something like (‘Asset’,’Element’,’Date’) and continues the timeseries values. Sometimes… Read More Replace MultiIndex names for the nth position in all levels