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: “We will be using pandas
for data manipulation and structuring, matplotlib
and seaborn
for plotting graphs, tqdm
for visualizing iteration progress, and lingua
for text language detection.”
A block of code is set as follows:
import pandas as pd import matplotlib.pyplot as plt import seaborn as sns from tqdm import tqdm from lingua import Language, LanguageDetectorBuilder tqdm.pandas()
Any command-line input or output is written as follows:
sudo systemctl start node_exporter sudo systemctl start prometheus
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 set up the Prometheus link now by clicking on the three-line button on the top-left tab and clicking on the Data Sources tab under the Administration dropdown.”
Tips or important notes
Appear like this.