July 2019
Beginner to intermediate
740 pages
16h 52m
English
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, and user input. Here is an example: "Use pip to install the packages in the requirements.txt file."
A block of code is set as follows. The start of the line will be preceded by >>> and continuations of that line will be preceded by ...:
>>> import pandas as pd>>> df = pd.read_csv(... 'data/fb_2018.csv', index_col='date', parse_dates=True... )>>> df.head()
Any code without the preceding >>> or ... is not something we will run—it is for reference:
try: del df['ones']except KeyError: # handle the error here pass
When we wish to draw ...
Read now
Unlock full access