julia> using DataFrames
julia> jobs = DataFrame(ID = [20, 60], Job = [“Lawyer”, “Astronaut”])
2×2 DataFrame
│ Row │ ID │ Job │
│ │ Int64 │ String │
├─────┼───────┼───────────┤
│ 1 │ 20 │ Lawyer │
│ 2 │ 60 │ Astronaut │
julia> people = DataFrame(ID = [20, 40], Name = [“John Doe”, “Jane Doe”])
2×2 DataFrame
│ Row │ ID │ Name │
│ │ Int64 │ String │
├─────┼───────┼──────────┤
│ 1 │ 20 │ John Doe │
│ 2 │ 40 │ Jane Doe │
julia> DataFrames.leftjoin(people, jobs, on = :ID)
ERROR: UndefVarError: leftjoin not defined
Stacktrace:
[1] getproperty(::Module, ::Symbol) at .\Base.jl:26
[2] top-level scope at REPL[4]:1
[3] include_string(::Function, ::Module, ::String, ::String) at .\loading.jl:1088
julia>