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