I am using Spark 2 and Scala 2.11 in a Zeppelin 0.7 notebook. I have a dataframe that I can print like this:
dfLemma.select(\"text\", \"lemma\").show(20,fals
In Zeppelin you can use z.show(df) to show a pretty table. Here's an example:
z.show(df)
val df = Seq( (1,1,1), (2,2,2), (3,3,3) ).toDF("first_column", "second_column", "third_column") z.show(df)