How to change the columns name from a tuple to string?

前端 未结 5 1065
忘掉有多难
忘掉有多难 2021-01-18 06:42

I have used pd.pivot_table in pandas dataframe, and the columns names becomes tuples like (\'A1\', \'B1\'), (\'A1\', \'B2\')... and I want them to

5条回答
提交回复
热议问题