You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[feature request] allow dims argument for all scalar statistics #1006
Currently only some of the scalar statistics (e.g., mean, var, std — the ones coming from Statistics) admit dims argument (preferably a keyword argument) It would be good if all scalar statistics did so. Is this possible with the way StatsBase is structured?
I think the idea is that it's better to use f.(eachrow(x) and f.(eachcol(x)) as it is more generic. It works for any function automatically and does not require writing boiler plate code for each function in StatsBase (which would just call eachrow or eachcol internally).
Activity
nalimilan commentedon Aug 11, 2026
I think the idea is that it's better to use
f.(eachrow(x)andf.(eachcol(x))as it is more generic. It works for any function automatically and does not require writing boiler plate code for each function in StatsBase (which would just calleachroworeachcolinternally).jonathanlilly commentedon Aug 11, 2026
Ok, thank you!