age location name new york john paris anna berlin peter london linda there are several possible ways to query this table for examplein[ ]select all rows that have an age column greater than display(data_pandas[data_pandas age ]this produces the following resultage location name berlin peter london linda mglearn this book comes with accompanying codewhich you can find on github the accompanying code includes not only all the examples shown in this bookbut also the mglearn library this is library of utility functions we wrote for this bookso that we don' clutter up our code listings with details of plotting and data loading if you're interestedyou can look up all the functions in the repositorybut the details of the mglearn module are not really important to the material in this book if you see call to mglearn in the codeit is usually way to make pretty picture quicklyor to get our hands on some interesting data throughout the book we make ample use of numpymatplotlib and pandas all the code will assume the following importsimport numpy as np import matplotlib pyplot as plt import pandas as pd import mglearn we also assume that you will run the code in jupyter notebook with the %matplotlib notebook or %matplotlib inline magic enabled to show plots if you are not using the notebook or these magic commandsyou will have to call plt show to actually show any of the figures essential libraries and tools