Python Package that extends the functionality of the popular teradataml package through monkey-patching.
Project description
teradataml-plus
Python Package that extends the functionality of the popular teradataml package through monkey-patching. This is to use field-developed assets more naturally with the existing interface.
Installation
pip install teradataml-plus
Quickstart
#always import teradata-plus (tdmlplus) first
import tdmlplus
#then import teradataml. It will have all the additional functionality
import teradataml as tdml
# one additional function is for instance to get a correlation matrix straight from the DataFrame, just like in pandas
DF = tdml.DataFrame("some_table")
DF_corr = DF.corr() # not possible withot tdmlplus
History
v0.1.0 (2025-07-25)
- First release on PyPI.
teradataml.DataFrame.corr()– correlation matrix like in pandasteradataml.random– module for random data generationteradataml.random.randn(...)– random normally distributed variables
teradataml.dba– module for database utilitiesteradataml.dba.get_amps_count()– get number of AMPs
v0.2.0 (2025-07-30)
-
teradataml.DataFrameshow_CTE_query()– generate full lineage SQL with CTEsdeploy_CTE_view()– create a view from the full CTE SQLeasyjoin()– simplified join using common column names with suffix handling
-
tdml.dataframe.sql._SQLColumnExpression- aka DataFrameColumntrycast()– apply TRYCAST SQL expression to a columnhashbin()– compute hash bin from a column with optional salt_power_transform_get_lambda()– estimate lambda for power transform using sample datapower_transform()– apply power transform (Yeo-Johnson or Box-Cox) to columnpower_fit_transform()– estimate lambda and transform in one step
-
teradataml.random_generate_sql_for_correlated_normals()– internal SQL generator for correlated normal simulationcorrelated_normals()– generate synthetic data with correlation structure matching a given DataFrame
-
tdml.widgetstab_dfs()– display multiple DataFrames/tables in widget tabs
-
teradataml.prettyprint_sql()– pretty-print SQL with indentation and keyword formatting
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file teradataml-plus-0.2.0.tar.gz.
File metadata
- Download URL: teradataml-plus-0.2.0.tar.gz
- Upload date:
- Size: 27.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a376ab41d5eac1988c67cc9f24eff9fa35e454d9a98f512e07afe87e7b99b6c8
|
|
| MD5 |
441de03ab85a56086e4184eec9cc7f64
|
|
| BLAKE2b-256 |
2ef6d52e836f83e1b2ea54b4dde6b424ff52f1cd62b083bf637ea607e5f1ffd8
|
File details
Details for the file teradataml_plus-0.2.0-py3-none-any.whl.
File metadata
- Download URL: teradataml_plus-0.2.0-py3-none-any.whl
- Upload date:
- Size: 28.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a446a4910506d9ea504c62ed6bb89ec70aea05d183e08523e196d05d6108a687
|
|
| MD5 |
9124a72e50396a7542e31f05861cc147
|
|
| BLAKE2b-256 |
cf6b22c8ee97a5fa481130b521e0e96e8e90acc5b46bee9ea67e26f0b70eba0f
|