hadoop - What is best way to multiple dataframe? -


i have 4 data frame. df1 name,id, age

df2 name,id,group

df3 name,id,city

df4 name,id, ctry

i join 4 dataframe macth of same 'name' , 'id'. e.g df

name, id,age,group,city,ctry

try:

list(df1, df2, df3, df4).reduce(_ join (_, seq("name", "id"))) 

Comments

Popular posts from this blog

sql - can we replace full join with union of left and right join? why not? -

javascript - Parallax scrolling and fixed footer code causing width issues -

iOS: Performance of reloading UIImage(name:...) -