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: “Those two lines should download a .zip
file, and then unzip its content, so that a file named Tweets.csv
is available.”
A block of code is set as follows:
# Load data data = pd.read_csv('Tweets.csv')data[['airline_sentiment', 'text']].head()
Any command-line input or output is written as follows:
ip install pandas numpy scikit-learn matplotlib torch transformers
Tips or important notes
Appear like this.