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

Problems loading data with pandas v1.1.0 #4

Open
ChantalvanSon opened this issue Aug 11, 2020 · 0 comments
Open

Problems loading data with pandas v1.1.0 #4

ChantalvanSon opened this issue Aug 11, 2020 · 0 comments

Comments

@ChantalvanSon
Copy link

I have been experiencing some problems that seem to be related to pandas version 1.1.0.

The problem occurs after loading any data with crowdtruth.load(). For instance, I tried loading the data in the Multiple Choice Task - Person Type Annotation in Video tutorial notebook:

data, config = crowdtruth.load(
    file = "../data/person-video-multiple-choice.csv",
    config = TestConfig()
)

After that, all rows in the 'units' data are duplicated. As an example:

data["units"]["input.subtitles"].unique()

>> array(["Italian astronaut samantha cristoforetti uploads a strange photograph she's taken"],
      dtype=object)

Fixing the pandas version to 1.0.5 or 0.25.3 in my virtual env solved the issue, so I think there's some changes in pandas 1.1.0 that are causing problems in loading the data.

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

1 participant