-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Closed
Labels
statisticsThe Statistics stdlib moduleThe Statistics stdlib modulestdlibJulia's standard libraryJulia's standard library
Description
This is a feature request to consider exporting basic names such as sample
defined in StatsBasefrom the
Statistics` stdlib.
Right now whenever we need access to the sample
function, we need this extra import, which seems suboptimal:
using Statistics # cool, we load anything related to stats
using StatsBase # urgh, we still need this for sample, and other functions
It seems reasonable to reexport StatsBase from Statistics. That would solve a bunch of name-related issues:
- https://github.com/JuliaLang/julia/issues/29974
- move stats functions from Base to StatsBase, move StatsBase to stdlib? #27140
The long-term solution is to move the code as well, but meanwhile, I think we could just reexport the names.
Metadata
Metadata
Assignees
Labels
statisticsThe Statistics stdlib moduleThe Statistics stdlib modulestdlibJulia's standard libraryJulia's standard library