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

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -