Conventions
In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.
A block of code is set as follows:
Dataset<Row> rowDS = spark.read().csv("data/loan_train.csv"); rowDS.createOrReplaceTempView("loans"); Dataset<Row> loanAmtDS = spark.sql("select _c6 from loans");
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
Dataset<Row>data = spark.read().csv("data/heart_disease_data.csv");
System.out.println("Number of Rows -->" + data.count());
Note
Warnings or important notes appear in a box like this.
Tip
Tips and tricks appear like this.