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: “Similarly, the MAX
, MIN
, COUNT
, and AVERAGE
functions are used to obtain the maximum, minimum, count, and average values, respectively.”
A block of code is set as follows:
SUMX TEST = SUMX ( Products, Products[Price] * Products[Qty] )
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
Dates Between = CALCULATE ( [SUM Total Sales], DATESBETWEEN ( 'Calendar'[Date], "01-01-2008", "31-03-2008" ) )
Any command-line input or output is written as follows:
pip install numpy
Bold: Indicates a new term, an important word, or words that you see on screen. For instance, words in menus or dialog boxes appear in bold. Here is an example: “To do this, go to File | Options and Settings | Options and open the Preview features menu.”
Tips or important notes
Appear like this.