Machine learning with NumPy: ```python import math import numpy as np import matplotlib.pyplot as plt %matplotlib inline ``` Data Science with Pandas, StatsModels, and Seaborn: ```python import math import pandas as pd import seaborn as sns import statsmodels.api as sm import statsmodels.formula.api as smf # show full cell content pd.set_option(   'display.max_colwidth',    None ) # use a clear plotting theme sns.set_style('whitegrid') ``` Setting up auto-reload when developing modules while running them interactively in a notebook: ```python %load_extension autoreload %autoreload 2 ``` Auto-reload `2` reloads any modules when executing their code, which normally produces very little overhead (and therefore should be preferred to auto-reload `1`). If you really have an issue with a module auto-reloading too much, `%aimport` that module to exclude it from the auto-reloading process. And if you need to stop most modules from auto-reloading, use option `1`. With that setting, you can import the modules that *should* reload with `%aimport` (while all others will not be auto-reloaded).