Skip to content

std not re-exported? #504

Description

@robsmith11

I'm confused why some functions are re-exported, but others are not:

               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.3.0-DEV.515 (2019-07-05)
 _/ |\__'_|_|_|\__'_|  |  Commit 2350c04091* (4 days old master)
|__/                   |

julia> using StatsBase

julia> StatsBase.mean(rand(10))
0.43976198608132133

julia> StatsBase.std(rand(10))
0.27238371213261153

julia> mean(rand(10))
0.4492048091159031

julia> std(rand(10))
ERROR: UndefVarError: std not defined
Stacktrace:
 [1] top-level scope at REPL[5]:1

Am I missing something obvious? I see them both listed in StatsBase.jl:

$ grep std ~/.julia/packages/StatsBase/rTkaz/src/StatsBase.jl
import Statistics: mean, mean!, var, varm, varm!, std, stdm, cov, covm,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions