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

Ignore nans in correlation for duplicate finding #26

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

DominikStiller
Copy link
Contributor

To find duplicate proxies in a ProxyDatabase, cfr computes the correlation between all proxies. However, there may be nan values, which cannot be handled by np.corrcoef. Using pandas' .corr() fixes this.

@fzhu2e fzhu2e merged commit f3f4c7c into fzhu2e:main Nov 14, 2024
1 check passed
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.

2 participants