I'm trying to filter a Spark dataframe based on whether the values in a column equal a list. I would like to do something like this:
filtered_df = df.where(df.a == ['list','of' , 'stuff'])
Where filtered_df only contains rows where the value of filtered_df.a is ['list','of' , 'stuff'] and the type of a is array (nullable = true).