I want to find the way change name of specific column in a multilevel dataframe.
With this data:
data = { (\'A\', \'1\', \'I\'): [1, 2, 3, 4, 5],
You can simply change it like DF.columns.levels=[[u'Z', u'B', u'C', u'D', u'E'],[u'5', u'2', u'3', u'4', u'5'],[u'IIIIII', u'II', u'III']]
DF.columns.levels=[[u'Z', u'B', u'C', u'D', u'E'],[u'5', u'2', u'3', u'4', u'5'],[u'IIIIII', u'II', u'III']]