DataFrame Metadata | Teradata Python Package - DataFrame Metadata - 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

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

The info() Method returns a summary of the DataFrame.

The keys() Method returns a list of column names of the DataFrame.

DataFrame Properties
DataFrame Property Description
columns Property Returns a list containing column names.
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.
The above DataFrame methods and properties do not return a teradataml DataFrame.