-
Notifications
You must be signed in to change notification settings - Fork 40
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
Allow function as first argument of median #141
Comments
I understand that if this functionality is being considered to be added, we should also consider extending the |
I have only used the Also, I am not sure if the quantile can be conceptually lumped in with summary statistics like mean and median. It does not clearly feel so for me, as the quantile is not one number, but a function a parameter from 0 to 1. So I am rather agnostic, and think that a case needs to be made as for why quantile should have such a method. |
We will have to think about it, in the meantime, you could use something like:
|
It is not hard to make you own version, it is just that mean and median are so similar in nature that it like a weird API for them to have different methods. But sure, thinking through it is a good idea. |
I'll take a look at it and try to upload a PR with the changes. |
See this asymmerty:
Is there any reason for it? If not, a method for
median
should be added that takes a function as the first argument.The text was updated successfully, but these errors were encountered: