columns

Teradata® Python Package User Guide

brand
Teradata Vantage
prodname
Teradata Python Package
vrm_release
16.20
category
User Guide
featnum
B700-4006-098K

Use the columns property to get a list of column names.

>>> df = DataFrame("sales")
>>> df.columns
['accounts', 'Feb', 'Jan', 'Mar', 'Apr', 'datetime']
The columns property is identical to the keys() Method.