Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pandas.CSVDataSet in Tutorials needs to be replaced by pandas.CSVDataset with the lowercase "s" #3841

Closed
ferrotem opened this issue Apr 26, 2024 · 2 comments

Comments

@ferrotem
Copy link

ferrotem commented Apr 26, 2024

Description

if we run kedro catalog list with pandas.CSVDataSet with uppercase "S" in set, it gives a following error:

kedro.framework.cli.utils.KedroCliError: Unable to instantiate Kedro Catalog.
Error: An exception occurred when parsing config for dataset 'test':
Class 'pandas.CSVDataSet' not found, is this a typo?
Run with --verbose to see the full exception

Documentation page (if applicable)

https://docs.kedro.org/en/stable/tutorial/set_up_data.html

Context

@ferrotem ferrotem changed the title pandas.CSVDataSet in Tutorials need to be replaces by pandas.CSVDataset with lowercase "s" pandas.CSVDataSet in Tutorials needs to be replaced by pandas.CSVDataset with the lowercase "s" Apr 29, 2024
@ankatiyar
Copy link
Contributor

From kedro-datasets 2.0.0 we changed the dataset names from capital "S" to lower case "s". pandas.CSVDataSet -> pandas.CSVDataset. I checked the tutorial, it also has the datasets with the lower case "s". If you're using kedro-datasets>=2.0.0 you'd need to replace DataSet with Dataset in your catalog! Is there anywhere else we've missed updating it? @ferrotem

@ferrotem
Copy link
Author

ferrotem commented May 3, 2024

@ankatiyar Thank you very much, now everything is OK.

@ferrotem ferrotem closed this as completed May 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants