Regarding condition should be string or column error

pyspark
apache-spark

#1

Hai,
I am getting the following error given in the screenshot attached below when i try to execute the code given below:

caseswithnocommunity=crimefile.filter(lambda o:o[13]=="")

Can anyone tell me why this error occurs?