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

ENH: Prevent pandas type conversion warning #748

Merged
merged 1 commit into from
Dec 2, 2024
Merged

Conversation

cookpa
Copy link
Member

@cookpa cookpa commented Dec 2, 2024

Fixes #747

@coveralls
Copy link

Coverage Status

coverage: 79.806% (+0.004%) from 79.802%
when pulling 44823cb on label_stats_dtype
into 00ae867 on master.

@cookpa
Copy link
Member Author

cookpa commented Dec 2, 2024

Looks like converting the label column to object then assigning a string fixes the warning.

@cookpa cookpa merged commit 696cec7 into master Dec 2, 2024
3 checks passed
@cookpa cookpa deleted the label_stats_dtype branch December 2, 2024 06:17
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 this pull request may close these issues.

ants.label_overlap_measures warning
2 participants