DataFrame Metadata

Teradata® Python Package User Guide

brand
Teradata Vantage
prodname
Teradata Python Package
vrm_release
16.20
category
User Guide
featnum
B700-4006-098K

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 Returns a list containing column names.
dtypes Returns column names and their corresponding types.
shape Returns a tuple representing the dimensionality of the DataFrame.
size Returns a value representing the number of elements in the DataFrame.
The above DataFrame methods and properties do not return a teradataml DataFrame.