drop pyspark
>>> df.join(df2, 'name', 'inner').drop('age', 'height').collect()
[Row(name='Bob')]
Xanthous Xenomorph
>>> df.join(df2, 'name', 'inner').drop('age', 'height').collect()
[Row(name='Bob')]