Skip to content

Instantly share code, notes, and snippets.

@julian-west
Last active September 7, 2019 16:46
Show Gist options
  • Save julian-west/8a604f321ba9f3e2cc8897795986340c to your computer and use it in GitHub Desktop.
Save julian-west/8a604f321ba9f3e2cc8897795986340c to your computer and use it in GitHub Desktop.
#data manipulation
import numpy as np
import pandas as pd
#netowrk analysis
import networkx as nx
#plotting
%matplotlib inline
import matplotlib.pyplot as plt
import seaborn as sns
#imports for plotly interactive visualisation library
import plotly.graph_objs as go
from plotly.graph_objs import *
from plotly.offline import download_plotlyjs, init_notebook_mode, plot, iplot
#plotly offline mode
init_notebook_mode(connected=True)
#filter warnings for final presentation
import warnings
warnings.filterwarnings("ignore")
#notebook formatting
from IPython.core.display import display, HTML
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment