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

add methods for median and quantile with function as the first argument. Fixes #141 #186

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

ajinkya-k
Copy link

This PR adds quantile(f, v) and median(f, v) methods, where f is a function, and v is an abstract array. Fixes #141

@ajinkya-k
Copy link
Author

ajinkya-k commented Jan 14, 2025

TODOS:

  • add tests
  • add documentation

@codecov-commenter
Copy link

codecov-commenter commented Jan 14, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.66%. Comparing base (bfa5c6b) to head (534fd78).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #186      +/-   ##
==========================================
+ Coverage   96.65%   96.66%   +0.01%     
==========================================
  Files           2        2              
  Lines         448      450       +2     
==========================================
+ Hits          433      435       +2     
  Misses         15       15              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ajinkya-k
Copy link
Author

Can someone please review this?

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.

Allow function as first argument of median
2 participants