In [27]:
import os
import sys
import importlib
import math
import re

import itertools as it
import pandas as pd
import numpy as np
import statsmodels.api as sm

#plotting
from bokeh.io import output_file, show, output_notebook, push_notebook, curdoc
from bokeh.plotting import figure
from bokeh.models import ColumnDataSource, BasicTicker, ColorBar, CategoricalColorMapper, Legend, Label, LinearAxis, Title, Select, LinearColorMapper
from bokeh.models.glyphs import MultiLine
from bokeh.models.widgets import Panel, Tabs, Slider, Select
from bokeh.layouts import row, column, gridplot, widgetbox
from bokeh.palettes import Plasma256, Category10, Spectral
from bokeh.transform import transform
import matplotlib.pylab as plt

#interactions for bokeh
from ipywidgets import interact, Dropdown, IntSlider
from ipywidgets.embed import embed_minimal_html

#stats
from scipy.signal import correlate
from scipy.stats import linregress

#machine learning
from sklearn.preprocessing import StandardScaler

#table display
from IPython.core.display import HTML

from IPython.display import display

#files for data munging
file_dir = os.getcwd()
sys.path.append(file_dir + "/scripts")

#custom modules
import exploratory_analysis as exp
import feature_creation as feat
import dataset_processing as dat
import data_vis as vis

#magic
%matplotlib inline

#inline plotting
from bokeh.resources import INLINE

output_notebook(INLINE)
Loading BokehJS ...