Hello Hakan
I faced the same issue.
Suppose you have an RDD[(String,String,Int)] or any type of data. To
display tables or plot:
var data = new java.lang.StringBuilder("%table Header1\tHeader2\Header3\n")
rdd.foreach( tuple =>
data.append(tuple._1).append("\t").append(tuple._2).append("\t").append(tuple._3).append("\n"))
Then, in a SEPARATED paragraph, you will do:
println(data.toString());
This is so horrendous that I made this pull request to simplify all this:
https://github.com/apache/incubator-zeppelin/pull/80
On Fri, May 29, 2015 at 1:15 PM, Håkan Jonsson <[email protected]> wrote:
> First, let me say I think Zeppelin is a great project.
> Second, it is not clear to me how to do plotting when not using sql. I
> assume there is some way of using the same charts as for sql, to plot a
> dataframe, but I can't find out how.
>
> /Håkan
>