JuliaDB.jl
JuliaDB.jl copied to clipboard
partitionplot doesn't work if variable is integer
trafficstars
julia> t = table(rand(1:100, 1000), rand(1:100, 1000); names = [:a, :b]);
julia> partitionplot(t, :a, :b)
ERROR: Extrema hasn't implemented `_fit!(::OnlineStat{T}, ::T)` yet.
The same works fine if instead :a and :b are columns of Float64
Try adding the keyword arg stat = Extrema(Int). As soon as I find some time, I need to clean up a bit of the partitionplot code.
OK, then it's probably better to keep it out of the tutorial for now and we can add it once it's cleaned up and we're sure about the API.