O'Reilly logo

Practical Predictive Analytics by Ralph Winters

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Running the code

After loading the notebook, a series of code 'chunks' will appear. This particular notebook is an R type notebook, that is, by default, code lines can be R commands, SparkR commands, or special Databricks commands (such as display).

We will see later that we can have different cells for SQL commands (notebooks starting with %sql) or even intermix Python (%python) or scala code (%scala).

to run the contents of any particular code chunk you can use the folowingkeyboard sequence:

Alternatively, use can use the run cell icon (the first triangle icon):

Now that we now how to run individual code chunks, we will begin by running ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required