I have a pyspark dataframe with column values as a list .I need to replace the values in the list with index based on another python list
outer_list = [b,c,a,e,f