In [ ]:
import pandas as pd
import numpy as np
from matplotlib import pyplot as plt
from datetime import datetime
%matplotlib inline
dtypes = {'Timestamp': datetime,
'Station ID': str,
'Lane 1 Flow': np.float,
'Lane 1 Occupancy': np.float,
'Lane 2 Flow': np.float,
'Lane 2 Occupancy': np.float,
'Lane 3 Flow': np.float,
'Lane 3 Occupancy': np.float,
'Lane 4 Flow': np.float,
'Lane 4 Occupancy': np.float,
'Lane 5 Flow': np.float,
'Lane 5 Occupancy': np.float,
'Lane 6 Flow': np.float,
'Lane 6 Occupancy': np.float,
'Lane 7 Flow': np.float,
'Lane 7 Occupancy': np.float,
'Lane 8 Flow': np.float,
'Lane 8 Occupancy': np.float}
In [ ]:
raw_data = pd.read_csv("../resources/Freeways-Rawaa.csv", header =1, dtype = dtypes, names = dtypes.keys())
In [ ]:
print raw_data.describe()
In [ ]: