Teradata Python Package Function Reference - columns - Teradata Python Package - Look here for syntax, methods and examples for the functions included in the Teradata Python Package.

Teradata® Python Package Function Reference

Product
Teradata Python Package
Release Number
16.20
Published
February 2020
Language
English (United States)
Last Update
2020-07-17
lifecycle
previous
Product Category
Teradata Vantage
teradataml.dataframe.dataframe.DataFrame.columns
RETURNS:
    a list containing the column names
 
EXAMPLES:
    >>> load_example_data("dataframe","sales")
    >>> df = DataFrame.from_table('sales')
    >>> df.columns
    ['accounts', 'Feb', 'Jan', 'Mar', 'Apr', 'datetime']