We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The fallback treats the first argument as a function apparently??
julia> mean(Union{Int,Missing}[1,2,3], weights([1,2,3])) 4.666666666666667 julia> @which mean(Union{Int,Missing}[1,2,3], weights([1,2,3])) mean(f, A::AbstractArray) in Statistics at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Statistics/src/Statistics.jl:76
The text was updated successfully, but these errors were encountered:
Would it also make sense to make mean(f, A::AbstractArray) be mean(f::Base.Callable, A::AbstractArray)?
mean(f, A::AbstractArray)
mean(f::Base.Callable, A::AbstractArray)
Sorry, something went wrong.
It would, but that method is defined in Statistics rather than StatsBase.
The PR that removed Callable: JuliaLang/julia#29692
Callable
No branches or pull requests
The fallback treats the first argument as a function apparently??
The text was updated successfully, but these errors were encountered: