Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Zeppelin displayhook error

avatar
Master Guru

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?

1 REPLY 1

avatar
@sunile.manjee

What is the zeppelin version you are using? May be hitting: https://issues.apache.org/jira/browse/ZEPPELIN-1930