I have two dataframes in scala, i created them using the sql queries via hive context, please see the df as images here

Please ignore the repetition of headers in second df, i want to compare the Skill column present in both the data frames and get the equivalent Role, Skill2 and emerging in df1 i.e. demand_df,
I tried this in pandas and was able to achieve by using the following code segment
df1 = pd.DataFrame([
["INDIA", "XXX","developer","UNKNOWN",121],
["INDIA", "XXXX","software engineer","UNKNOWN",121],
["POLAND","XX","english","KNOWN",122]],
columns=['country', 'level','Skill','r2d2','tax'])
df2 = pd.DataFrame([
["english", "NaN","teacher","NaN","NaN"],
[20000,"Unknown","NaN","NaN","NaN"],
["microsoft","Known","Software Engineer","Microsoft","Enterprise"]],
columns=['Skill', 'R2D2','Role','Skill2','Emerging'])
result= df1.merge(df2[['Skill','Role','Skill2','emerging']], how = 'left', left_on = 'Skill', right_on = 'Skill')
Please guide me,as I am new to scala
