xorbits.pandas.DataFrame.columns#

property DataFrame.columns#

The column labels of the DataFrame.

Examples

>>> df = pd.DataFrame({'A': [1, 2], 'B': [3, 4]})  
>>> df  
     A  B
0    1  3
1    2  4
>>> df.columns  
Index(['A', 'B'], dtype='object')

This docstring was copied from pandas.core.frame.DataFrame.