September 2018
Intermediate to advanced
398 pages
9h 43m
English
Since our aggregate DataFrame is available in scope, we can create new cells to plot different charts. Create two new cells with the following code:
%sparkz.show(aggregate)
Then, on each new cell, click on the line chart button and drag the start column to the keys section. After that:
In the first chart, drag and drop sumAmount in the values section. The chart shows the evolution of the volume exchanged.
In the second chart, drag and drop stddevPrice in the values section. The chart shows the evolution of the standard deviation.
Click on settings on both cells to hide the settings.
You should obtain something like this:
We can observe spikes at around the same time—when there ...
Read now
Unlock full access