julia lang - Dataframe join on multiple IDs -
i'm trying database style merge @ least 2 ids using data-frame types:
merged_df = join(df1, df2, on = (:id1 :id2), kind = :outer)
this not seem allowed in base.join
.
i can make work kind of verbose function, want see if there's cleaner way?
merged_df = join(df1, df2, on = [:id1, :id2], kind = :outer)
dataframes awesome, there's lot of useful stuff that's not documented... there's few things i've been meaning add documentation in joins , split-apply-combine sections.
Comments
Post a Comment