Conventions used

There are a number of text conventions used throughout this book.

CodeInText: 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: "Save under the trained folder inside the working directory."

A block of code is set as follows:

print('Total Rows')
df.count()
print('Rows without Null values')
df.dropna().count()
print('Row with Null Values')
df.count()-df.dropna().count()

Any command-line input or output is written as follows:

nltk.download("punkt")
nltk.download("stopwords")

Bold: Indicates a new term, an important word, or words that you see on screen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "Right-click on the page and click on Save As..."

Warnings or important notes appear like this.
Tips and tricks appear like this.