Support Questions

Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

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

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.