nalimilan / FreqTables.jl

Frequency tables in Julia
Other
90 stars 19 forks source link

Feature Request: functions (sum avg, min max, free definable) in addition to count #4

Open Mirage10 opened 8 years ago

Mirage10 commented 8 years ago

Frequency Tables are very powerfull tool - a very good concept by the way. This feature request addresses more flexibility. The cells are currently doing counting only. It would be very helpful to handover a specific function, so that the cells are not providing counts, instead they are providing function value based on the dadasets involved.

nalimilan commented 8 years ago

Actually, that was my original idea when the package was called Tables.jl, but I never worked on it. At this point, though, much code would be duplicated with DataFrames.jl/DataFramesMeta.jl (https://github.com/JuliaStats/DataFrames.jl/issues/894). We should find a way to share code.

@tshort Any ideas about this?

tshort commented 8 years ago

Sharing code is a good idea. The differences between DataFrames/DataFramesMeta and FreqTable are mainly different API to do similar things.