I have a dataframe ; which looks like below
id 1id id2 ac1 2ac tre tye
I want to delete the columns which contain "id" and "ac" in them and retain the others
How will I achieve this in pyspark?
Tried "select statements" doesn't work
How should I use regexep on column names here?