I used the following code:
remove_image=[]
for n,i in enumerate(data['class']):
if i == str("\"):
print(i,n)
remove_image.append(n)
I got the following error:
File "<ipython-input-109-3dce64dd25ea>", line 3
if i == str("\"):
^
SyntaxError: EOL while scanning string literal