pyspark drop column code example Example: pyspark drop >>> df.join(df2, 'name', 'inner').drop('age', 'height').collect() [Row(name='Bob')]