Using SQLAlchemy ClauseElement and Expression for Filtering| teradataml - Using Basic SQLAlchemy ClauseElement and Expression for Filtering - 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

Vantage offers various types of clauses in WHERE clause that allows users to filter the results in a table.

With the help of SQLAlchemy ClauseElements and Expression, teradataml can use the following SQL clauses to filter results in teradataml DataFrame:

  • CASE expression
  • BETWEEN ... AND ... clause
  • IN clause
  • NOT IN clause
  • LIKE clause
  • NOT LIKE clause
  • ILIKE clause
  • IS NULL
  • IS NOT NULL

Refer to example notebook <pkg_install_location>\teradataml\data\notebooks\sqlalchemy\teradataml filtering - Using SQLAlchemy ClauseElements.ipynb to learn about these.