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