get_formatters() | Teradata Package for Python - get_formatters() - Teradata Package for Python

Teradata® Package for Python User Guide

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Product
Teradata Package for Python
Release Number
20.00
Published
March 2025
ft:locale
en-US
ft:lastEdition
2026-02-20
dita:mapPath
nvi1706202040305.ditamap
dita:ditavalPath
plt1683835213376.ditaval
dita:id
rkb1531260709148
Product Category
Teradata Vantage

Use the get_formatters() function to get the formatters for NUMERIC, DATE and CHAR types.

Optional Parameter

formatter_type
Specifies the category of formatter to format data.

Default value: None

Permitted values:
  • "NUMERIC" - Formatters to convert given data to a numeric type.
  • "DATE" - Formatters to convert given data to a date type.
  • "CHAR" - Formatters to convert given data to a character type.

Example: Get the formatters for the NUMERIC type

>>> from teradataml.dataframe.functions import get_formatters
>>> get_formatters("NUMERIC")