You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "John (Jira)" <ji...@apache.org> on 2019/09/23 08:39:00 UTC

[jira] [Created] (ZEPPELIN-4346) Please Update the Documentation

John created ZEPPELIN-4346:
------------------------------

             Summary: Please Update the Documentation
                 Key: ZEPPELIN-4346
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-4346
             Project: Zeppelin
          Issue Type: Improvement
          Components: documentation
    Affects Versions: 0.9.0
         Environment: 0.9.0-SNAPSHOT
            Reporter: John


Hey,

I like your product a lot!
Nevertheless, I the Documentation regard the *ZeppelinContext and its Object Exchange*

[https://zeppelin.apache.org/docs/0.9.0-SNAPSHOT/usage/other_features/zeppelin_context.html#object-exchange]

Needs to be updated.

It's not working to retrieve

{code:java}
val myPythonDataFrame = z.get("myPythonDataFrame").asInstanceOf[DataFrame]
{code}

If I remove `.asInstanceOf[DataFrame]`, then it's fine. Maybe I am missing some libs to import.

Another issue is
{code:java}
# Exchanging data frames
myPythonDataFrame = ...
z.put("myPythonDataFrame", postsDf._jdf)
{code}

It should be 

{code:java}
# Exchanging data frames
myPythonDataFrame = ...
z.put("myPythonDataFrame", myPythonDataFrame )
{code}

Right?
Maybe I miss something and don't understand `._jdf`



--
This message was sent by Atlassian Jira
(v8.3.4#803005)