In [1]:
import pandas as pd
import matplotlib.pyplot as plt
# %matplotlib notebook
%matplotlib inline
In [2]:
def make_plots(df):
fig, axes = plt.subplots(nrows=1,ncols=3)
fig.set_figwidth(18)
df.plot(ax=axes[0], title='Wait v time', x='seconds', y='wait', kind='scatter')
df.plot(ax=axes[1], title='Wait times sorted', y='wait')
df.wait.hist(bins=20)
In [3]:
make_plots(pd.read_table('../gaussian.tsv'))
In [4]:
make_plots(pd.read_table('../uniform.tsv'))
In [5]:
make_plots(pd.read_table('../fantana.tsv'))
In [ ]: