dtypes Property | Teradata Python Package - 17.00 - dtypes 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 dtypes property to print the column names and column types of a DataFrame.

Example

>>> df = DataFrame("sales")
>>> df.dtypes
accounts              str
Feb                 float
Jan                   int
Mar                   int
Apr                   int
datetime    datetime.date