Conventions used
There are a number of text conventions used throughout this book.
Code in text
: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "Execute databricks configure --token
in the Azure CLI."
A block of code is set as follows:
from pyspark.ml.evaluation import RegressionEvaluator regEval = RegressionEvaluator( predictionCol="predictions", \ Â Â Â Â Â Â labelCol="rating", \ Â Â Â Â Â Â metricName="mse") predictedTestDF = alsModel.transform(testDF) testMse = regEval.evaluate(predictedTestDF) print('MSE on the test set is {0}'.format(testMse))
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
CREATE TABLE [dbo].[CommonCrawlPartitions]( Â Â Â Â [YearAndMonth][varchar](255) NULL, Â Â Â Â [Path] [varchar](255) NULL, Â Â Â Â [UpdatedAt] [Datetime] )
Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this: Go to the Azure portal and find Azure Active Directory.
Tips or important notes
Appear like this.