Site Navigation
The column labels of the DataFrame.
Examples
>>>df=pd.DataFrame({'A':[1,2],'B':[3,4]})>>>df A B0 1 31 2 4>>>df.columnsIndex(['A', 'B'], dtype='object')
DataFrame.columns