tdtypes Property | Teradata Python Package - 17.00 - tdtypes Property - Teradata Package for Python

Teradata® Package for Python User Guide

Product
Teradata Package for Python
Release Number
17.00
Release Date
November 2021
Content Type
User Guide
Publication ID
B700-4006-070K
Language
English (United States)

Use the tdtypes property to print the column names and corresponding teradatasqlalchemy types of a DataFrame.

Example

>>> df = DataFrame("sales")
>>> df.tdtypes
accounts    VARCHAR(length=20, charset='LATIN')
Feb                                     FLOAT()
Jan                                    BIGINT()
Mar                                    BIGINT()
Apr                                    BIGINT()
datetime                                 DATE()