DataFrame Metadata | Teradata Python Package - DataFrame Metadata - Teradata Package for Python

Teradata® Package for Python User Guide

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Teradata Package for Python
Release Number
20.00
Published
December 2024
Language
English (United States)
Last Update
2025-01-23
dita:mapPath
nvi1706202040305.ditamap
dita:ditavalPath
plt1683835213376.ditaval
dita:id
rkb1531260709148
Product Category
Teradata Vantage

You can retrieve the metadata of a DataFrame with the following methods and properties.

DataFrame Methods

info() Method
Returns a summary of the DataFrame.
keys() Method
Returns a list of column names of the DataFrame.

DataFrame Properties

columns Property
Returns a list containing column names.
db_object_name Property
Gets the underlying database object name on which DataFrame is created.
dtypes Property
Returns column names and their corresponding types.
index Property
Returns the index of the DataFrame, which corresponds to the primary index of the underlying Table or View.
shape Property
Returns a tuple representing the dimensionality of the DataFrame.
size Property
Returns a value representing the number of elements in the DataFrame.
tdtypes Property
Prints the column names and corresponding teradatasqlalchemy types of a DataFrame.
These DataFrame methods and properties do not return a teradataml DataFrame.