Data Manipulation in Julia
Katerina Zahradova
Instructor
More info about joins here
# Left join on chocolates and chocolate_companies, using company column
leftjoin(chocolates, chocolate_companies, on = :company)
# Left join on chocolates and chocolate_companies, using company and company_name
leftjoin(chocolates, chocolate_companies, on = :company => :company_name)
# Left join on chocolates and chocolate_companies
# using company and company_location columns
leftjoin(chocolates, chocolate_companies,
on = [:company => :company, :company_location => :company_location])
leftjoin(left, right, on = :col)
:
left
, along with those rows of right
that have a matching value in col
with left
leftjoin(left, right, on = :col_left => :col_right)
:
leftjoin(left, right, on = [:c1_l => :c1_r, ...])
:
Data Manipulation in Julia