If eager evaluation is enabled and the Spark object is a SparkDataFrame, evaluate the SparkDataFrame and print top rows of the SparkDataFrame, otherwise, print the class and type information of the Spark object.
1 |
.data |
a |
n |
numeric, the number of rows to collect |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.