Kedro-Datasets provides a comprehensive collection of data connectors for Kedro projects, enabling seamless interaction with various data sources and formats like CSV, Parquet, Spark, and cloud storage. It's an active library, typically releasing new features and updates monthly or bi-monthly, ensuring compatibility with the latest data technologies.
pip install kedro-datasetsVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to programmatically initialize, load, and save data using a common dataset type (CSVDataset) from `kedro-datasets`. While `kedro-datasets` is often used within Kedro project configuration (e.g., `catalog.yml`), direct programmatic usage is also fully supported.
Migrate any usage of `MatplotlibWriter` to `MatplotlibDataset`.
Replace `overwrite=True/False` with `mode='overwrite'` or `mode='append'` respectively. Supported modes include 'append', 'overwrite', 'error'/'errorifexists', and 'ignore'.
Install `kedro-datasets` with the specific extras needed for your datasets, e.g., `pip install kedro-datasets[pandas,spark]`, or `pip install kedro-datasets[all]` for comprehensive coverage.
Ensure `kedro-datasets` is updated to version 9.3.0 or newer if using pandas 3.0. For older `kedro-datasets` versions, stick to pandas <3.0.
When using experimental datasets, monitor release notes for potential changes. For production systems, prefer stable, non-experimental datasets or ensure thorough testing with specific experimental versions.