Hey community
julia> using StatsBase
julia> countmap(i for i in 1:10)
ERROR: MethodError: no method matching countmap(::Base.Generator{UnitRange{Int64},typeof(identity)})
Closest candidates are:
countmap(::AbstractArray{T,N} where N; alg) where T at C:\Users\<user>\.julia\packages\StatsBase\unDUx\src\counts.jl:389
countmap(::AbstractArray{T,N} where N, ::AbstractArray{W,1}) where {T, W<:Real} at C:\Users\<user>\.julia\packages\StatsBase\unDUx\src\counts.jl:390
Stacktrace:
[1] top-level scope at REPL[11]:1