Teradata Python Package Function Reference - dtypes - Teradata Python Package - Look here for syntax, methods and examples for the functions included in the Teradata Python Package.
Teradata® Python Package Function Reference
- Product
- Teradata Python Package
- Release Number
- 16.20
- Published
- February 2020
- Language
- English (United States)
- Last Update
- 2020-07-17
- lifecycle
- previous
- Product Category
- Teradata Vantage
- teradataml.dataframe.dataframe.DataFrame.dtypes
- Returns a MetaData containing the column names and types.
PARAMETERS:
RETURNS:
MetaData containing the column names and Python types
RAISES:
EXAMPLES:
>>> load_example_data("dataframe","sales")
>>> df = DataFrame.from_table('sales')
>>> print(df.dtypes)
accounts str
Feb float
Jan int
Mar int
Apr int
datetime datetime.date
>>>