image_output_1.png
import matplotlib.pyplot as plt

import pandas as pd

DATA_FILE = '../input/uber-raw-data-aug14.csv'
uber_data = pd.read_csv(DATA_FILE)

uber_weekdays = uber_data.pivot_table(index=['DayOfWeekNum', 'DayOfWeek'], values='Base', aggfunc='count')
uber_weekdays.plot(kind='bar', figsize=(8, 6), color='red')
plt.ylabel('Number of Journeys')
plt.title('Journeys by Day')