Skip to content

Instantly share code, notes, and snippets.

@Akramz
Created October 24, 2015 22:09
Show Gist options
  • Save Akramz/43add4da6df4b8848095 to your computer and use it in GitHub Desktop.
Save Akramz/43add4da6df4b8848095 to your computer and use it in GitHub Desktop.
import numpy as np
from ggplot import *
import pandas
df = pandas.read_csv('../../improved_data_set/old.csv')
hourly_entries = df[['ENTRIESn_hourly']]
p = ggplot(aes(x='ENTRIESn_hourly'), data=hourly_entries) + geom_histogram(color='white', fill='red') + xlab("hourly entries") + ylab("Frequencies")
print p
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment