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

Migrate pickled dataframes to pandas >=2.0 #2

Open
millsks opened this issue Aug 23, 2023 · 0 comments · May be fixed by #3
Open

Migrate pickled dataframes to pandas >=2.0 #2

millsks opened this issue Aug 23, 2023 · 0 comments · May be fixed by #3

Comments

@millsks
Copy link

millsks commented Aug 23, 2023

Thank you so much for providing this dataset. It proved to be very useful in a ML POC that we were working on using Kedro. One issue that we noticed was the pickled dataframes were created using a pre-2.0 version of pandas which causes the following error to occur when the files is read. Since the pandas 2.0 release broke pandas 1.x backwards compatability the internal pandas.core.indexes.numeric no longer existed. It would be beneficial to those who are using the dataset to have the files pickled using the latest supported version of pandas.

DatasetError: Failed while loading data from data set PickleDataSet(backend=pickle,
filepath=/path/to/kedro/project/data/01_raw/2018-04-01.pkl, load_args={}, protocol=file, save_args={}).   
No module named 'pandas.core.indexes.numeric'
@millsks millsks linked a pull request Aug 23, 2023 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant