# import pandas import pandas as pd # read csv data df1 = pd.read_csv('Student_data.csv') df2 = pd.read_csv('Course_enrolled.csv') Right_join = pd.merge(df1, df2, on ='Name', how ='right') Right_join
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter