Use the columns property to get a list of column names.
The columns property is identical to the keys() Method.
Example
>>> df = DataFrame("sales")
>>> df.columns ['accounts', 'Feb', 'Jan', 'Mar', 'Apr', 'datetime']
Use the columns property to get a list of column names.
>>> df = DataFrame("sales")
>>> df.columns ['accounts', 'Feb', 'Jan', 'Mar', 'Apr', 'datetime']