Skip to content

Instantly share code, notes, and snippets.

@stichbury
Last active October 12, 2023 11:01
Show Gist options
  • Save stichbury/f6e596b526abf9e28e912f5736a69b86 to your computer and use it in GitHub Desktop.
Save stichbury/f6e596b526abf9e28e912f5736a69b86 to your computer and use it in GitHub Desktop.
from kedro.config import OmegaConfigLoader
from kedro.io import DataCatalog
conf_loader = OmegaConfigLoader(".", base_env="", default_run_env="")
conf_catalog = conf_loader["catalog"]
# Create the DataCatalog instance from the configuration
catalog = DataCatalog.from_config(conf_catalog)
# Load the datasets
companies = catalog.load("companies")
reviews = catalog.load("reviews")
shuttles = catalog.load("shuttles")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment