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

Compare series + fix correlations #620

Merged
merged 10 commits into from
Oct 18, 2024
Merged

Compare series + fix correlations #620

merged 10 commits into from
Oct 18, 2024

Conversation

CommonClimate
Copy link
Collaborator

New functions and capabilities to address #619 and #618

  • Series.correlation() now checks for overlap, using new function Series.overlap(), Returns NaNs for r and p if it cannot compute a correlation due to insufficient overlap
  • MultipleSeries.correlation() uses try/except to compute correlations between pairs, and returns a helpful error message if it cannot. Useful for diagnosing/debugging
  • New function Series.compare(), which demos like this (this is what the docstring example should look like once the doc is updated):

compare_Series

@alexkjames alexkjames merged commit 84baeaa into master Oct 18, 2024
1 check passed
@alexkjames alexkjames deleted the compare_series branch October 18, 2024 18:08
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