I am getting the following error on zeppelin:
%pyspark
df_single_recipes = df[df.Lotdf_nrecipes[df_nrecipes == 1].index
Traceback (most recent call last):
File "/tmp/zeppelin_pyspark-3154198105554295939.py", line 364, in <module>
code = compile('\n'.join(stmts), '<stdin>', 'exec', ast.PyCF_ONLY_AST, 1)
File "<stdin>", line 2
__zeppelin__._displayhook()
^
SyntaxError: invalid syntax
Any ideas how to fix this?