Preview:
# Performing inner join
inner_join_df = df1.join(df2, df1['key'] == df2['key'], 'inner')

# Performing left join
left_join_df = df1.join(df2, df1['key'] == df2['key'], 'left')
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