Skip to content

Instantly share code, notes, and snippets.

@huynhducduy
Created July 23, 2019 21:38
Show Gist options
  • Save huynhducduy/5738a6961d94c70cc26a701c09db4df4 to your computer and use it in GitHub Desktop.
Save huynhducduy/5738a6961d94c70cc26a701c09db4df4 to your computer and use it in GitHub Desktop.
Jupyter Notebook Template
Display the source blob
Display the rendered blob
Raw
import sys
import logging
import numpy as np
import scipy as sp
import sklearn
import statsmodels.api as sm
from statsmodels.formula.api import ols
%load_ext autoreload
%autoreload 2
import matplotlib as mpl
import matplotlib.pyplot as plt
%matplotlib inline
%config InlineBackend.figure_format = 'retina'
import seaborn as sns
sns.set_context("poster")
sns.set(rc={'figure.figsize': (16, 9.)})
sns.set_style("whitegrid")
import pandas as pd
pd.set_option("display.max_rows", 120)
pd.set_option("display.max_columns", 120)
logging.basicConfig(level=logging.INFO, stream=sys.stdout)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment