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

Reading csv file needs updating v.19.8 #4133

Closed
TanjaWinkler opened this issue Aug 30, 2024 · 6 comments
Closed

Reading csv file needs updating v.19.8 #4133

TanjaWinkler opened this issue Aug 30, 2024 · 6 comments

Comments

@TanjaWinkler
Copy link

Description

The load_args argument now needs a dictionary as input. In the example the load arguments are just listed without dict brackets, but that does not work anymore.
Picture 1

The current version would have to be:

load_args: {
"sep"; ","
}

Documentation page (if applicable)

https://docs.kedro.org/en/0.18.14/kedro_datasets.pandas.CSVDataset.html

@ElenaKhaustova
Copy link
Contributor

Hello @TanjaWinkler, thank you for opening an issue.

We didn't change the syntax for setting the parameters, and since it's a .yml file, it assumes load_args is a dictionary without brackets.

Could you please share some context and the actual error you're facing?

@TanjaWinkler
Copy link
Author

TanjaWinkler commented Aug 30, 2024 via email

@ElenaKhaustova
Copy link
Contributor

Hi there, If I don't use the brackets, I can't load the CSV - I get an error message about not being able to read the load arguments. When I looked at the documentation within the kedro project to debug I did find example that had the brackets. I added those and it was all working. All the best, Tanja

Can you please share your configuration file and the error traceback?

@TanjaWinkler
Copy link
Author

TanjaWinkler commented Aug 30, 2024 via email

@TanjaWinkler
Copy link
Author

TanjaWinkler commented Sep 2, 2024 via email

@ElenaKhaustova
Copy link
Contributor

Closing issue as user was not able to reproduce it

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