Reset column index of pandas dataframe

后端 未结 3 1477
隐瞒了意图╮
隐瞒了意图╮ 2021-01-22 07:36

Is it possible to reset columns so they becomes first row of DataFrame. For example,

import pandas as pd

df = pd.DataFrame({\'a\': [1, 2, 3], \'b\'         


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