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

Investigate the opportunity of using Pandas categoricals #259

Open
lucasgautheron opened this issue Jul 21, 2021 · 0 comments · May be fixed by #260
Open

Investigate the opportunity of using Pandas categoricals #259

lucasgautheron opened this issue Jul 21, 2021 · 0 comments · May be fixed by #260
Labels
enhancement New feature or request performance

Comments

@lucasgautheron
Copy link
Collaborator

Is your feature request related to a problem? Please describe.

Our annotations usually contain a lot of text that is actually categorical (e.g. speaker type, etc.)
We might save memory usage and some CPU time by using pandas Categorical data type.

There are, however, a number of pitfalls. So we should be very careful with this.
This may be something we could make an option...

Describe the solution you'd like

Assess the impact of Categorical on the performance on realistic data.

@lucasgautheron lucasgautheron added enhancement New feature or request performance labels Jul 21, 2021
@lucasgautheron lucasgautheron linked a pull request Jul 21, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request performance
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant