Support Questions
Find answers, ask questions, and share your expertise

Zeppelin displayhook error

Super 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

@sunile.manjee

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