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 utility that loads data from a database and analyzes how different database types are converted to Python dataframe types.
@generates
def inspect_types(conn_str: str, query: str) -> dict[str, str]:
"""
Load data from a database and return a mapping of column names to their
Python dataframe data types.
Args:
conn_str: Database connection string
query: SQL query to execute
Returns:
Dictionary mapping column names to type names (as strings)
"""
pass
def compare_format_types(conn_str: str, query: str) -> dict[str, dict[str, str]]:
"""
Load the same data into both pandas and arrow formats and return
type information for each format.
Args:
conn_str: Database connection string
query: SQL query to execute
Returns:
Dictionary with keys 'pandas' and 'arrow', each containing a
dictionary mapping column names to type names (as strings)
"""
passProvides high-performance data loading from databases with sophisticated type mapping.
@satisfied-by