In the end, I settled for the following :
-
Drop:
df.drop('column_1', 'column_2', 'column_3') -
Select :
df.select([c for c in df.columns if c not in {'column_1', 'column_2', 'column_3'}])
In the end, I settled for the following :
Drop:
df.drop('column_1', 'column_2', 'column_3')
Select :
df.select([c for c in df.columns if c not in {'column_1', 'column_2', 'column_3'}])