We also use the pandas library ( for data wrangling later in this book. The best way to get pandas is via pip or conda:

conda install pandas

Get Python Machine Learning By Example - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.