I have the following code:
df = df1.withColumn(\'idx\', F.coalesce( #Get the smallest index of a stop word in the string F.least(*[F.when(