tessl install tessl/pypi-connectorx@0.4.0Load data from databases to dataframes, the fastest way.
Agent Success
Agent success rate when using this tile
86%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.05x
Baseline
Agent success rate without this tile
82%
A data processing tool that efficiently loads large sales datasets from a PostgreSQL database using parallel processing techniques.
Load sales transaction data from a PostgreSQL database using parallel partitioning to maximize performance.
postgresql://user:pass@localhost:5432/salesdb and query SELECT * FROM sales WHERE year = 2024, load data using 4 parallel partitions on the id column and return a pandas DataFrame @test@generates
def load_sales_data(
connection_string: str,
query: str,
partition_column: str,
num_partitions: int
) -> pandas.DataFrame:
"""
Load sales data from database using parallel partitioning.
Args:
connection_string: Database connection string (e.g., "postgresql://user:pass@host/db")
query: SQL query to execute
partition_column: Column to use for partitioning (must be numeric)
num_partitions: Number of parallel partitions to create
Returns:
DataFrame containing all loaded data
"""
passProvides high-performance database-to-dataframe loading with parallel query partitioning support.
@satisfied-by
Provides DataFrame data structure for storing and manipulating loaded data.
@satisfied-by