Skip to content
This repository has been archived by the owner on Feb 17, 2021. It is now read-only.

Add stubs for to_pickle and read_pickle #217

Merged
merged 2 commits into from
Jan 8, 2021

Conversation

EdwardJRoss
Copy link
Contributor

Resolves #216

@tmke8
Copy link
Member

tmke8 commented Jan 8, 2021

So it seems the tests for python 3.9 are downloading a newer version of pandas (1.2) which has the problem mentioned in #215. Is it easy to fix that?

@tmke8
Copy link
Member

tmke8 commented Jan 8, 2021

I'm actually a bit surprised that pandas already dropped python 3.6 support.

@EdwardJRoss
Copy link
Contributor Author

I guess a workaround would be to use the previous version in the tests by updating .github/workflows/test_correctness.yml to install pandas<1.2

I'm not really clear enough on iloc behaviour and the test intention on how to fix the test for Pandas 1.2.

@tmke8
Copy link
Member

tmke8 commented Jan 8, 2021

Okay, then let's do this for now

updating .github/workflows/test_correctness.yml to install pandas<1.2

You can just edit the file.

Pandas 1.2 changes iloc behaviour resulting in errors for current
implementation of test_frame_iloc.
As a workaround restict the version of Pandas when running tests.
@tmke8
Copy link
Member

tmke8 commented Jan 8, 2021

Great, thanks!

@tmke8 tmke8 merged commit 38c354e into wearepal:master Jan 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fails type checking on dataframe.to_pickle
2 participants