For at least 99% of my jupyter / ipython laptops, I use the following imports:
import pandas as pd from pandas.io.json import json_normalize import matplotlib.pyplot as plt import matplotlib as mpl import numpy as np from bson import json_util, ObjectId import json from datetime import datetime, timedelta import pytz pd.set_option('max_columns', 50) mpl.style.use('ggplot') %pylab inline
Has anyone found any solution that would allow me to do this automatically or create some kind of macro?
ipython ipython-notebook jupyter
metersk
source share