tessl install tessl/pypi-deeplake@4.3.0Database for AI powered by a storage format optimized for deep-learning applications.
Agent Success
Agent success rate when using this tile
75%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.6x
Baseline
Agent success rate without this tile
47%
Build a data pipeline that imports customer records from CSV format, imports product records from Parquet format, and provides export functionality to CSV for analysis.
You're building a data management system that needs to handle multiple data sources. Customer data arrives in CSV format, while product catalog data comes in Parquet format. Your task is to import these datasets and provide export capabilities for downstream analysis.
Implement a function import_customers(csv_path: str, output_path: str) that:
customer_id, name, email, countryImplement a function import_products(parquet_path: str, output_path: str) that:
product_id, product_name, category, priceImplement a function export_to_csv(dataset_path: str, output_csv_path: str) that:
@test
Import customer data from CSV format.
Input:
customers.csv with 3 customersExpected:
customer_id, name, email, country@test
Import product data from Parquet format.
Input:
products.parquet with 5 productsExpected:
product_id, product_name, category, price@test
Export a dataset to CSV format.
Input:
./test_dataset with 10 rowsExpected:
Database for AI providing unified data management and storage capabilities.