Importing pandas into your application is simple. The following code is a fairly standard convention that is used:
In : # bring in NumPy and pandas import numpy as np import pandas as pd
Importing of both NumPy and pandas is fairly common, with their objects mapped into the
pd namespaces, respectively. It is also common to import several classes from pandas into the global namespace, but for the purpose of this text, we will explicitly reference all objects through the
pd namespace prefix.
pandas also provides several options that can be set to control the formatting of output. The notebooks in this book will use the following code or a slight variant to control the representation of the rendering, as well as setting ...