Gabungkan DF DataCamp

df_inner = pd.merge(df1, df2, on='id', how='inner')

df_inner
Gentle Gaur