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

Drop unlabeled records in dataset #51

Open
pyested opened this issue Dec 18, 2024 · 1 comment
Open

Drop unlabeled records in dataset #51

pyested opened this issue Dec 18, 2024 · 1 comment

Comments

@pyested
Copy link

pyested commented Dec 18, 2024

Hi! Thanks for the nice extension. I was wondering if it is possible to drop the unlabeled records in a dataset using datatools. I have a dataset with both labeled and unlabeled records, and I just want to keep the labeled ones. I can do this with pandas, of course, but I would like to know if it is possible to use datatools to do it and integrate it in my workflow.

@Rensvandeschoot
Copy link
Member

Thank you for using ASReview!!

Datatools is designed to host some useful code before it is integrated into ASReview itself, and your suggestion is a good example, see this PR: asreview/asreview#1335. The current API allows for some data managing: https://asreview.readthedocs.io/en/latest/generated/asreview.Dataset.html. And in the upcoming v2 release it will be even more easy, right @J535D165?

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