Macro analysis of the Bitcoin blockchain

The number of unconfirmed transactions on the Bitcoin blockchain spiked in May 2017. Attempting to identify why led to an analysis of several key performance metrics for the network

By John Mathews
In: Data
Aug 03 2017
In [1]:
from IPython.display import HTML

 This analysis was made using Python. If you'd like to see the code used, click here.
This analysis was made using Python. If you’d like to see the code used, click here.
In [2]:
## Steup - libraries
import quandl
import matplotlib.pyplot as plt
import pandas as pd
import datetime as dt
import numpy as np
import credentials # keep my quandl and api keys private

import plotly.plotly as py
import plotly
#from plotly.graph_objs import Scatter, Layout
import plotly.graph_objs as go
#from plotly.graph_objs import *
In [3]:
## Setup - appearance
# get rid of the annoying 'SettingWithCopy' warning
pd.options.mode.chained_assignment = None # default='warn'

# more than one print of an unassigned variable
from IPython.core.interactiveshell import InteractiveShell;
InteractiveShell.ast_node_interactivity = "all";

# offline plotly

color1 = '#137a28' # dark green
color2 = '#b3d1b9' # light transparent green