In [1]:
import pandas as pd
import numpy as np
bt = pd.read_csv('../data/BLUETH_20150819.traveltime', header=None, names=['t', 'travel time'])
vs = pd.read_csv('../data/VSDATA_20150819.volume', header=None, names=['t', 'volume'])
In [2]:
data = pd.merge(vs, bt, on='t', how='left')
data.head()
Out[2]: