dtypes Property | Teradata Python Package - dtypes Property - Teradata Package for Python

Teradata® Package for Python User Guide

Product
Teradata Package for Python
Release Number
17.00
Published
November 2021
Language
English (United States)
Last Update
2022-01-14
dita:mapPath
bol1585763678431.ditamap
dita:ditavalPath
ayr1485454803741.ditaval
dita:id
B700-4006
lifecycle
previous
Product Category
Teradata Vantage

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