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: "The score.py
script is a deployment file that needs to contain an init()
and run(batch)
method."
A block of code is set as follows:
# increase display of all columns of rows for pandas datasets pd.set_option('display.max_columns', None) pd.set_option('display.max_rows', None) # create pandas dataframe raw_df = tabdf.to_pandas_dataframe() raw_df.head()
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
df = df.drop(['Postcode'],axis=1) df.head()
Any command-line input or output is written as follows:
$ pip install azure-cognitiveservices-personalizer
Bold: Indicates a new term, an important word, or words that you see onscreen. For instance, words in menus or dialog boxes appear in bold. Here is an example: "We can see that the dataset is passed as the titanic named input to the Preprocessing step."
Tips or Important Notes
Appear like this.