Last active
August 29, 2015 13:56
-
-
Save edwinhu/8942284 to your computer and use it in GitHub Desktop.
My IPython Header
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import division | |
# system/os/regex and basic math functions | |
import sys, os, re, math | |
# numpy for matrix algebra | |
import numpy as np | |
# pandas for data manipulation | |
import pandas as pd | |
# pandas web interface for things like FF factors | |
import pandas.io.data as web | |
# pytables for hdf5 library (on-disk storage) | |
import tables as tb | |
# SQLAlchemy for relational db management | |
import sqlalchemy as sa | |
# matplotlib for plotting and pyplot for MATLAB-style API | |
import matplotlib as mpl | |
import matplotlib.pyplot as plt | |
# scipy for probability distributions and some statistical tests | |
import scipy as sp | |
import scipy.stats as stats | |
# statsmodels for models with a formula framework similar to R | |
import statsmodels.api as sm | |
# datetime for date functions/time series | |
import datetime as dt | |
import dateutil | |
# display plots inline | |
%matplotlib inline | |
# pretty print everything | |
from IPython.display import display | |
# pandas display options | |
pd.set_option('html', True, 'precision', 8) | |
# IPython display convenience stuff | |
from IPython.display import HTML, Javascript | |
import logging | |
logging.getLogger("").setLevel(logging.DEBUG) | |
pd.set_option('max_rows',200,'max_columns',50) | |
# load lprun magic | |
%load_ext line_profiler_ext | |
# load mprun and memit magics | |
%load_ext memory_profiler_ext | |
# load version_information magic | |
%load_ext version_information | |
%version_information numpy, scipy, matplotlib, pandas, tables, sqlalchemy, statsmodels |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ZOMG SO COMPLETE!