How can I reorder multi-indexed dataframe columns at a specific level

后端 未结 4 1287
时光取名叫无心
时光取名叫无心 2020-12-17 08:25

I have a multi-indexed DataFrame with names attached to the column levels. I\'d like to be able to easily shuffle the columns around so that they match the ord

4条回答
  •  悲哀的现实
    2020-12-17 09:21

    I don't know of anything off-hand. Created an enhancement ticket about it:

    http://github.com/pydata/pandas/issues/1864

提交回复
热议问题