Setting up the IPython notebook

To utilize the examples in this chapter, we will need to include the following imports and settings:

In [1]:
   # import pandas, numpy and datetime
   import numpy as np
   import pandas as pd
   import datetime

   # Set some pandas options for controlling output
   pd.set_option('display.notebook_repr_html', False)
   pd.set_option('display.max_columns', 10)
   pd.set_option('display.max_rows', 10)

Get Learning pandas now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.