I have a dataframe like this. I want to get "mert" ones in Names column and the Index of the Status column to the Name column is Active. I transform this from json but I can't filter. how can I do it?
+---+-----------------------------------------+------------------+
|ID |Names | Status |
+---+-----------------------------------------+------------------+
|1 |[[[aaaa, mert], [cccc, Doe]]] | [Active, Active] |
|2 |[[[aaa, Michael], [ggg, ]]] | [Active, Active] |
|3 |[[[cccc, mert], [gg, Merk ]]] | [Suspend, Active]|
|3 |[[[dddd, Angela], [fggg, Merl]]] | [Active, Suspend]|
+---+-----------------------------------------+------------------+
df.printSchema().