September 2018
Intermediate to advanced
398 pages
9h 43m
English
Well, our first notebook is completely empty! We can reuse the example used in Chapter 10, Fetching and Persisting Bitcoin Market Data, in the section Exploring Spark's API with the Scala console. If you remember, we created Dataset from a sequence of strings. Enter the following in the notebook:
val dsString = Seq("1", "2", "3").toDS()dsString.show()
Then hit Shift + Enter (or click on the play triangle of the UI).
The interpreter runs and you should see the following:

The notebook created the dataset from the sequence and printed in the result section of the paragraph.
Notice that in the previous chapter, when we executed ...
Read now
Unlock full access