Adding method to convert header of tuples into MultiIndex