Commit 38de40c9 authored by O'Reilly Media, Inc.'s avatar O'Reilly Media, Inc.
Browse files

Initial commit

parents
amqp==1.4.9
anyjson==0.3.3
appnope==0.1.0
backports-abc==0.4
backports.shutil-get-terminal-size==1.0.0
backports.ssl-match-hostname==3.5.0.1
billiard==3.3.0.23
bokeh==0.11.1
celery==3.1.23
certifi==2016.2.28
cffi==1.5.2
cryptography==1.3.1
cssselect==0.9.1
cycler==0.10.0
decorator==4.0.9
entrypoints==0.2
enum34==1.1.3
et-xmlfile==1.0.1
futures==3.0.5
fuzzywuzzy==0.10.0
gnureadline==6.3.3
idna==2.1
ipaddress==1.0.16
ipykernel==4.3.1
ipython==4.2.0
ipython-genutils==0.1.0
ipywidgets==5.0.0
jdcal==1.2
Jinja2==2.8
jsonschema==2.5.1
jupyter==1.0.0
jupyter-client==4.2.2
jupyter-console==4.1.1
jupyter-core==4.1.0
kombu==3.0.35
lxml==3.6.0
MarkupSafe==0.23
matplotlib==1.5.1
memory-profiler==0.41
mistune==0.7.2
nbconvert==4.2.0
nbformat==4.0.1
ndg-httpsclient==0.4.0
nltk==3.2.1
notebook==4.2.0
numpy==1.11.0
oauthlib==1.0.3
openpyxl==2.3.5
pandas==0.18.0
pandas-datareader==0.2.1
pathlib2==2.1.0
pexpect==4.0.1
pickleshare==0.7.2
Pillow==3.2.0
psutil==4.2.0
ptyprocess==0.5.1
pyasn1==0.1.9
pycparser==2.14
Pygments==2.1.3
pyOpenSSL==16.0.0
pyparsing==2.1.1
python-dateutil==2.5.3
python-Levenshtein==0.12.0
pytz==2016.3
PyYAML==3.11
pyzmq==15.2.0
qtconsole==4.2.1
redis==2.10.5
requests==2.10.0
requests-file==1.4
requests-oauthlib==0.6.1
scipy==0.17.1
simplegeneric==0.8.1
singledispatch==3.4.0.3
six==1.10.0
SQLAlchemy==1.0.12
terminado==0.6
tornado==4.3
traitlets==4.2.1
tweepy==3.5.0
widgetsnbextension==1.0.0
xlrd==0.9.4
amqp==1.4.9
anyjson==0.3.3
appnope==0.1.0
backports-abc==0.4
backports.shutil-get-terminal-size==1.0.0
backports.ssl-match-hostname==3.5.0.1
billiard==3.3.0.23
bokeh==0.11.1
celery==3.1.23
certifi==2016.2.28
cffi==1.5.2
configparser==3.3.0.post2
cryptography==1.3.1
cssselect==0.9.1
cycler==0.10.0
decorator==4.0.9
entrypoints==0.2
enum34==1.1.3
et-xmlfile==1.0.1
functools32==3.2.3.post2
futures==3.0.5
fuzzywuzzy==0.10.0
gnureadline==6.3.3
idna==2.1
ipaddress==1.0.16
ipykernel==4.3.1
ipython==4.2.0
ipython-genutils==0.1.0
ipywidgets==5.0.0
jdcal==1.2
Jinja2==2.8
jsonschema==2.5.1
jupyter==1.0.0
jupyter-client==4.2.2
jupyter-console==4.1.1
jupyter-core==4.1.0
kombu==3.0.35
lxml==3.6.0
MarkupSafe==0.23
matplotlib==1.5.1
memory-profiler==0.41
mistune==0.7.2
nbconvert==4.2.0
nbformat==4.0.1
ndg-httpsclient==0.4.0
nltk==3.2.1
notebook==4.2.0
numpy==1.11.0
oauthlib==1.0.3
openpyxl==2.3.5
pandas==0.18.0
pandas-datareader==0.2.1
pathlib2==2.1.0
pdfminer==20110515
pdftables==0.0.4
pexpect==4.0.1
pickleshare==0.7.2
Pillow==3.2.0
psutil==4.2.0
ptyprocess==0.5.1
pyasn1==0.1.9
pycparser==2.14
Pygments==2.1.3
pyOpenSSL==16.0.0
pyparsing==2.1.1
python-dateutil==2.5.3
python-Levenshtein==0.12.0
pytz==2016.3
PyYAML==3.11
pyzmq==15.2.0
qtconsole==4.2.1
redis==2.10.5
requests==2.10.0
requests-file==1.4
requests-oauthlib==0.6.1
scipy==0.17.1
simplegeneric==0.8.1
singledispatch==3.4.0.3
six==1.10.0
SQLAlchemy==1.0.12
terminado==0.6
tornado==4.3
traitlets==4.2.1
tweepy==3.5.0
widgetsnbextension==1.0.0
xlrd==0.9.4
from __future__ import print_function
import csv
import pandas as pd
my_reader = csv.DictReader(open('data/eu_revolving_loans.csv', 'r'))
for line in my_reader:
print(line)
df = pd.read_csv('data/eu_revolving_loans.csv', header=1)
print(df)
from __future__ import print_function
import pandas as pd
from openpyxl import load_workbook
wb = load_workbook(filename='data/climate_change_download_0.xlsx')
ws = wb.get_sheet_by_name('Data')
for row in ws.rows:
for cell in row:
print(cell.value)
df = pd.read_excel('data/climate_change_download_0.xlsx')
print(df)
import pdftables
my_pdf = open('data/WEF_GlobalCompetitivenessReport_2014-15.pdf', 'rb')
chart_page = pdftables.get_pdf_page(my_pdf, 29)
table = pdftables.page_to_tables(chart_page)
titles = zip(table[0][0], table[0][1])[:5]
titles = [''.join([title[0], title[1]]) for title in titles]
print(titles)
all_rows = []
for row_data in table[0][2:]:
all_rows.extend([row_data[:5], row_data[5:]])
print(all_rows)
""" Simple tweepy stream listener for twitter API. """
from __future__ import print_function
import tweepy
try:
from configparser import ConfigParser
except ImportError:
from ConfigParser import ConfigParser
class PythonListener(tweepy.StreamListener):
""" Very simple tweepy stream listener. """
def on_status(self, tweet):
print(tweet.text)
def on_error(self, msg):
print('Error: %s', msg)
def on_timeout(self):
print('tweepy timeout. waiting before next poll')
sleep(30)
def get_config():
""" Return my config object. """
conf = ConfigParser()
conf.read('config/prod.cfg')
return conf
config = get_config()
auth = tweepy.OAuthHandler(config.get('twitter', 'consumer_key'),
config.get('twitter', 'consumer_secret'))
auth.set_access_token(config.get('twitter', 'access_token'),
config.get('twitter', 'access_token_secret'))
my_listener = PythonListener()
my_stream = tweepy.Stream(auth = auth, listener=my_listener)
my_stream.filter(track=['#python', 'python'])
""" Simple weather data from weathermap API. """
from __future__ import print_function
from pprint import pprint
import requests
try:
from configparser import ConfigParser
except ImportError:
from ConfigParser import ConfigParser
def upcoming_forecast(api_key, lat, lon):
""" Pulls upcoming forecast based on latitude and longitude. """
resp = requests.get('http://api.openweathermap.org/data/2.5/forecast',
params={'lat': lat, 'lon': lon, 'appid': api_key,
'units': 'metric'})
return resp.json()
def get_config():
""" Return my config object. """
conf = ConfigParser()
conf.read('config/prod.cfg')
return conf
config = get_config()
pprint(upcoming_forecast(
config.get('openweather', 'api_key'), 52.520645, 13.409779))
from __future__ import print_function
import requests
from lxml import html
response = requests.get('http://kjamistan.com')
page = html.fromstring(response.content)
page.make_links_absolute(base_url='http://kjamistan.com')
posts = page.xpath('//article[@class="post"]')
#posts = page.cssselect('article.post')
all_posts = []
for post in posts:
link = post.xpath('header/h2/a')[0].get('href')
title = post.xpath('header/h2/a/text()')[0]
all_posts.append((title, link))
print(all_posts)
Data Source in SDW: null
,MIR.M.AT.B.A2Z.A.R.A.2250.EUR.N,MIR.M.BE.B.A2Z.A.R.A.2250.EUR.N,MIR.M.CY.B.A2Z.A.R.A.2250.EUR.N,MIR.M.DE.B.A2Z.A.R.A.2250.EUR.N,MIR.M.EE.B.A2Z.A.R.A.2250.EUR.N,MIR.M.ES.B.A2Z.A.R.A.2250.EUR.N,MIR.M.FI.B.A2Z.A.R.A.2250.EUR.N,MIR.M.FR.B.A2Z.A.R.A.2250.EUR.N,MIR.M.GR.B.A2Z.A.R.A.2250.EUR.N,MIR.M.IE.B.A2Z.A.R.A.2250.EUR.N,MIR.M.IT.B.A2Z.A.R.A.2250.EUR.N,MIR.M.LT.B.A2Z.A.R.A.2250.EUR.N,MIR.M.LU.B.A2Z.A.R.A.2250.EUR.N,MIR.M.LV.B.A2Z.A.R.A.2250.EUR.N,MIR.M.MT.B.A2Z.A.R.A.2250.EUR.N,MIR.M.NL.B.A2Z.A.R.A.2250.EUR.N,MIR.M.PT.B.A2Z.A.R.A.2250.EUR.N,MIR.M.SI.B.A2Z.A.R.A.2250.EUR.N,MIR.M.SK.B.A2Z.A.R.A.2250.EUR.N,MIR.M.U2.B.A2Z.A.R.A.2250.EUR.N
,Austria,Belgium,Cyprus,Germany,Estonia,Spain,Finland,France,Greece (GR),Ireland,Italy,Lithuania,Luxembourg,Latvia,Malta,Netherlands,Portugal,Slovenia,Slovakia,Euro area (changing composition)
Collection:,End of period (E),End of period (E),End of period (E),End of period (E),End of period (E),End of period (E),End of period (E),End of period (E),End of period (E),End of period (E),End of period (E),End of period (E),End of period (E),End of period (E),End of period (E),End of period (E),End of period (E),End of period (E),End of period (E),Average of observations through period (A)
Period\Unit:,[Percent per annum ],[Percent per annum ],[Percent per annum ],[Percent per annum ],[Percent per annum ],[Percent per annum ],[Percent per annum ],[Percent per annum ],[Percent per annum ],[Percent per annum ],[Percent per annum ],[Percent per annum ],[Percent per annum ],[Percent per annum ],[Percent per annum ],[Percent per annum ],[Percent per annum ],[Percent per annum ],[Percent per annum ],[Percent per annum ]
2016Feb,4.20,8.09,6.13,8.85,16.38,11.03,6.41,6.00,8.18,10.40,6.07,9.60,7.24,21.58,6.79,5.83,15.28,6.80,13.86,7.36
2016Jan,4.17,8.05,6.13,8.83,16.41,10.85,6.44,6.10,8.19,9.91,6.07,9.58,7.10,21.51,6.82,5.81,15.41,6.79,13.97,7.35
2015Dec,3.99,8.21,6.16,8.69,16.32,10.49,6.40,5.86,8.22,10.37,5.91,9.45,6.96,21.59,6.84,5.88,15.16,6.65,13.72,7.23
2015Nov,4.09,8.20,6.15,8.82,16.37,10.73,6.49,6.18,8.30,9.11,6.12,9.53,6.88,21.67,6.78,5.97,15.32,6.79,14.10,7.37
2015Oct,4.10,8.40,6.16,8.89,16.42,10.86,6.52,6.15,8.34,9.29,6.11,9.40,7.08,21.74,6.78,5.93,15.55,6.74,14.12,7.41
2015Sep,4.32,8.58,6.17,8.95,16.44,10.87,6.52,6.41,8.53,9.38,6.14,9.33,7.07,21.75,6.79,5.97,15.51,6.81,14.21,7.53
2015Aug,4.28,8.27,6.36,8.91,16.40,10.81,6.47,6.39,8.59,8.91,6.12,9.39,7.13,21.80,6.60,6.05,15.21,6.79,14.26,7.49
2015Jul,4.07,8.23,6.38,8.90,16.37,10.74,6.44,6.25,8.45,8.83,6.19,9.43,7.26,21.82,6.78,5.92,15.42,6.71,14.21,7.44
2015Jun,4.29,8.17,6.42,9.01,16.36,10.83,6.47,6.57,8.65,8.54,6.27,9.50,7.33,21.92,6.78,5.87,15.47,6.76,14.15,7.58
2015May,4.32,8.12,6.46,8.99,16.33,11.07,6.49,6.72,8.57,8.39,6.28,9.61,7.32,21.81,6.76,5.90,15.81,6.80,14.14,7.62
2015Apr,4.21,8.24,6.40,9.10,16.31,11.09,6.67,6.58,8.57,8.32,6.36,9.64,7.33,21.86,6.78,5.99,15.73,6.82,13.97,7.64
2015Mar,4.43,8.31,6.23,9.21,16.32,11.21,6.57,6.89,8.57,8.41,6.37,9.32,7.59,21.56,6.77,6.05,15.66,6.86,13.89,7.75
2015Feb,4.26,8.09,7.14,9.22,16.32,11.44,6.69,6.89,8.62,8.35,6.57,9.31,8.45,21.55,6.75,5.97,15.80,6.90,13.96,7.80
2015Jan,4.24,8.31,7.18,9.22,16.32,11.13,6.67,6.87,8.58,7.50,6.57,9.27,8.22,21.61,6.76,6.04,15.83,6.90,14.00,7.76
2014Dec,4.20,8.37,7.20,9.20,16.26,10.92,6.63,6.65,8.58,7.71,6.40,3.92,8.68,21.45,6.77,6.01,15.51,6.87,13.75,7.64
2014Nov,4.30,8.32,7.19,9.20,16.35,11.01,6.62,7.10,8.66,7.59,6.65,3.86,7.39,21.11,6.73,6.08,15.90,7.01,13.40,7.80
2014Oct,4.30,8.40,7.20,9.27,16.36,10.63,6.60,6.96,9.04,7.34,6.70,3.85,7.34,21.12,6.71,6.07,15.98,6.95,13.57,7.77
2014Sep,4.59,7.72,7.20,9.40,16.39,10.79,6.68,7.22,9.01,7.49,6.83,3.95,7.06,21.37,6.69,6.06,15.78,6.97,13.59,7.90
2014Aug,4.50,7.68,7.24,9.27,16.30,10.80,6.70,7.16,8.60,7.50,6.80,3.95,7.10,21.36,6.72,5.96,15.53,6.96,13.58,7.81
2014Jul,4.52,7.67,7.28,9.37,16.30,10.58,6.67,6.90,8.73,7.49,6.86,4.01,7.04,21.38,6.62,6.00,15.66,6.88,13.45,7.77
2014Jun,4.62,8.04,7.32,9.46,16.36,10.75,6.73,7.16,8.86,7.49,7.03,3.71,7.13,21.39,6.69,5.99,15.74,7.03,13.55,7.92
2014May,4.54,8.06,7.29,9.35,16.29,10.76,6.83,7.22,8.97,7.43,7.01,3.64,7.02,21.43,6.72,6.06,15.90,7.00,13.61,7.92
2014Apr,4.59,8.70,7.31,9.25,16.38,10.76,6.83,7.36,9.03,7.48,7.06,3.70,7.25,21.35,6.72,6.12,15.72,7.06,13.69,7.96
2014Mar,4.79,8.74,7.31,9.46,16.39,10.73,6.85,7.51,9.00,7.47,7.12,3.67,7.20,21.30,6.79,6.10,15.89,7.07,13.66,8.06
2014Feb,4.58,8.84,7.31,9.41,16.51,10.83,6.83,7.68,9.06,7.53,7.20,3.66,7.47,21.38,6.80,6.07,16.04,7.16,13.64,8.11
2014Jan,4.57,8.95,7.33,9.45,16.52,10.50,6.79,7.48,9.09,7.57,7.18,3.66,7.12,21.66,6.82,6.11,15.96,7.12,13.72,8.04
2013Dec,4.50,8.97,7.23,9.42,16.47,10.04,6.76,7.33,9.12,7.61,6.97,3.69,7.56,8.56,6.86,6.08,15.54,7.20,13.65,7.92
2013Nov,4.44,8.94,7.32,9.44,16.53,10.61,6.76,7.57,9.07,7.56,7.08,3.64,7.10,8.62,6.83,6.17,15.79,7.30,13.72,8.02
2013Oct,4.62,9.01,7.80,9.53,16.53,10.62,6.73,7.41,9.31,7.46,7.19,3.55,7.21,8.78,6.88,6.23,16.03,7.25,13.81,8.08
2013Sep,4.85,8.98,7.81,9.61,16.54,10.32,6.76,7.64,9.26,7.58,7.19,3.57,7.00,9.45,6.87,6.17,16.01,7.28,13.88,8.13
2013Aug,4.59,9.12,7.84,9.56,16.50,10.35,6.69,7.47,9.40,7.48,7.26,3.53,6.85,8.68,6.88,6.17,15.48,7.23,13.84,8.08
2013Jul,4.77,9.11,7.75,9.62,16.50,10.03,6.66,7.18,9.54,7.52,7.30,3.52,6.81,8.79,6.87,6.14,15.41,7.17,13.77,8.02
2013Jun,4.81,9.20,7.77,9.63,16.43,10.41,6.66,7.73,9.61,7.51,7.37,3.53,6.81,8.75,6.85,6.20,15.56,7.41,13.71,8.21
2013May,4.68,9.18,7.79,9.66,16.11,10.26,6.67,7.58,9.78,7.48,7.41,3.56,6.82,8.73,6.86,6.29,15.55,7.42,13.71,8.18
2013Apr,4.73,9.05,7.93,9.67,16.15,10.44,6.68,7.51,9.84,7.41,7.48,3.83,6.77,8.81,6.87,6.28,15.51,7.45,13.84,8.20
2013Mar,4.78,9.14,8.02,9.68,16.19,10.25,6.42,7.92,9.88,9.08,7.48,4.08,6.70,8.69,6.84,6.52,15.55,7.50,13.81,8.33
2013Feb,4.88,9.08,7.76,9.67,16.21,10.20,6.44,8.01,9.96,9.04,7.55,3.79,6.48,8.66,6.87,6.52,15.50,7.52,13.63,8.35
2013Jan,4.89,9.13,7.76,9.72,16.25,9.99,6.41,7.86,9.97,9.07,7.56,3.53,6.57,8.44,6.86,6.55,15.42,7.50,13.66,8.32
2012Dec,4.68,9.18,7.81,9.78,16.25,9.75,6.40,7.91,10.00,8.99,7.31,3.48,6.98,8.10,6.85,6.48,15.11,7.57,13.52,8.26
2012Nov,4.63,9.30,7.79,9.75,16.35,9.96,6.41,8.10,10.11,8.81,7.41,3.55,6.41,7.80,6.84,6.57,15.28,7.70,13.74,8.34
2012Oct,4.91,9.46,7.77,9.87,16.90,10.16,6.43,8.09,10.20,8.93,7.40,3.59,6.56,7.75,6.88,6.60,15.27,7.66,13.85,8.42
2012Sep,5.14,9.48,7.81,9.98,16.81,10.16,6.80,8.25,10.29,8.96,7.42,3.55,6.39,7.84,6.86,6.57,15.16,7.72,13.72,8.50
2012Aug,4.96,9.49,7.80,9.99,16.81,10.02,6.63,8.16,10.40,9.28,7.40,3.80,6.15,7.90,6.85,6.52,14.94,7.68,13.80,8.45
2012Jul,5.09,9.55,7.77,10.02,16.67,9.89,6.70,8.06,10.61,9.37,7.45,3.81,6.24,7.98,6.84,6.49,14.87,7.55,13.73,8.46
2012Jun,5.09,9.55,7.76,10.20,16.80,10.06,6.99,8.37,10.56,9.34,7.49,3.99,6.36,7.95,6.84,6.59,15.02,7.61,13.82,8.62
2012May,5.35,9.60,7.64,10.21,16.82,9.85,6.84,8.30,10.64,9.32,7.55,3.99,6.45,8.03,6.83,6.68,14.89,7.58,13.96,8.62
2012Apr,5.23,9.68,7.75,10.16,16.86,10.30,6.91,8.21,10.78,9.27,7.53,4.15,6.34,8.18,6.83,6.68,14.90,7.66,13.94,8.64
2012Mar,5.45,9.66,7.76,10.31,16.85,10.08,7.20,8.61,10.84,9.99,7.57,4.10,6.32,8.24,6.75,6.71,14.71,7.66,13.73,8.77
2012Feb,5.52,9.72,7.86,10.36,16.83,10.12,7.14,8.76,10.96,10.00,7.57,4.32,6.30,8.45,6.81,6.69,13.29,7.66,13.86,8.80
2012Jan,5.52,9.61,7.89,10.39,16.88,9.90,7.22,8.97,11.05,9.87,7.60,4.42,6.96,8.61,6.84,6.70,13.22,7.62,13.94,8.84
2011Dec,5.34,9.63,7.94,10.40,16.86,9.65,7.49,8.74,11.23,12.61,7.44,4.54,7.54,9.04,7.01,6.72,12.99,7.64,13.86,8.81
2011Nov,5.47,9.47,7.88,10.41,16.62,9.86,7.35,9.01,11.30,10.02,7.53,4.68,7.04,8.55,6.84,6.77,13.07,7.65,13.97,8.85
2011Oct,5.54,9.58,7.90,10.49,16.65,9.97,7.36,9.01,11.34,10.23,7.52,4.81,7.44,8.96,6.85,6.74,13.10,7.66,14.04,8.90
2011Sep,5.60,9.53,7.91,10.45,16.51,9.79,7.37,9.10,11.48,10.65,7.38,4.81,7.17,8.82,6.85,6.74,12.85,7.64,14.07,8.88
2011Aug,5.68,9.47,7.90,10.43,16.57,9.55,7.30,9.02,11.47,10.79,7.28,4.94,7.33,8.71,6.85,6.68,12.73,7.59,14.09,8.81
2011Jul,5.61,9.55,7.91,10.39,16.55,9.35,7.46,9.04,11.33,10.75,7.21,4.86,7.16,8.69,6.84,6.58,12.40,7.56,13.95,8.76
2011Jun,5.52,9.50,7.89,10.36,16.61,9.32,7.12,9.16,11.21,10.82,7.15,4.85,6.81,8.65,6.82,6.35,12.34,7.42,13.78,8.72
2011May,5.54,9.44,7.67,10.34,16.74,9.29,7.09,9.02,11.20,10.67,7.15,4.55,6.90,9.94,6.78,6.37,12.48,7.33,13.97,8.68
2011Apr,5.42,9.44,7.65,10.27,16.71,9.27,7.26,9.12,11.16,10.72,7.14,4.96,7.43,9.92,6.79,6.40,12.03,7.40,14.04,8.80
2011Mar,5.45,9.33,7.63,10.29,16.71,9.18,7.01,9.24,11.09,10.73,6.98,4.71,7.23,9.99,6.78,6.44,11.98,7.43,14.14,8.67
2011Feb,5.46,9.62,7.68,10.31,16.81,8.93,7.01,9.34,11.14,10.68,7.05,4.81,7.14,9.94,6.78,6.38,12.00,7.51,14.31,8.67
2011Jan,5.47,9.53,7.69,10.24,16.82,8.59,6.97,9.32,11.14,10.58,7.04,4.86,6.99,10.09,6.79,6.36,12.10,7.53,14.48,8.61
2010Dec,5.24,,7.76,10.19,8.35,8.38,6.94,9.42,11.08,10.62,6.90,4.63,7.44,9.99,6.78,6.43,11.53,7.32,14.37,8.55
2010Nov,5.30,,7.67,10.07,8.17,8.07,6.88,9.56,11.12,10.28,7.07,4.45,7.07,9.87,6.78,6.49,11.74,7.33,14.43,8.54
2010Oct,5.35,,7.68,10.15,8.13,8.38,7.06,9.55,11.08,10.40,7.17,4.48,7.22,9.55,6.74,6.46,11.69,7.30,14.45,8.63
2010Sep,5.44,,7.53,10.30,8.10,8.69,6.88,9.66,11.12,10.19,7.13,4.41,6.85,9.85,6.74,6.47,11.47,7.16,14.49,8.70
2010Aug,5.47,,7.54,10.19,8.02,8.60,6.81,9.49,11.06,9.95,7.11,4.54,7.19,9.82,6.71,6.44,11.54,7.27,14.52,8.64
2010Jul,5.31,,7.51,10.12,8.03,8.72,6.70,9.45,11.16,10.35,7.10,4.59,6.97,8.83,6.70,6.46,11.54,7.18,14.49,8.65
2010Jun,5.55,,7.47,10.29,8.13,8.71,6.59,9.64,11.05,9.95,7.14,4.81,6.83,8.46,6.55,6.62,11.70,7.16,14.51,8.74
2010May,5.91,9.64,7.21,10.38,8.39,10.65,7.65,9.84,13.92,12.90,6.43,6.61,4.03,9.12,6.57,5.62,11.34,8.60,14.51,8.79
2010Apr,5.88,9.65,7.25,10.34,7.88,11.60,7.74,9.80,13.94,12.93,6.46,6.47,4.09,4.59,6.54,5.72,11.29,8.61,14.51,8.78
2010Mar,6.03,9.65,7.25,10.36,7.60,11.48,7.71,9.90,13.84,12.66,6.51,6.39,4.10,4.71,6.45,5.81,11.24,8.64,14.60,8.83
2010Feb,5.96,9.74,7.12,10.28,7.52,11.96,7.73,10.61,14.14,12.84,6.57,6.31,4.11,4.45,6.44,5.67,11.24,8.61,14.70,9.03
2010Jan,5.97,9.81,7.13,10.33,7.26,11.62,7.79,10.15,14.05,12.60,6.64,6.41,3.66,5.06,6.43,5.76,10.88,8.63,14.62,8.95
2009Dec,5.90,9.81,7.18,10.38,7.12,12.34,7.83,10.28,14.08,12.59,6.60,6.31,3.34,5.64,6.45,5.80,10.64,8.64,14.35,9.01
2009Nov,6.04,9.91,7.23,10.36,6.92,11.64,7.82,10.59,14.22,12.65,6.69,6.41,3.10,7.26,6.40,5.89,10.98,8.65,14.34,9.09
2009Oct,6.12,10.24,7.30,10.53,6.66,11.87,7.86,10.53,14.20,12.71,6.77,6.45,3.41,6.12,6.38,5.90,11.07,8.67,14.31,9.17
2009Sep,6.36,10.21,7.31,10.61,6.73,11.40,7.98,10.68,14.31,12.64,6.81,6.44,3.63,5.95,6.49,5.93,11.42,8.66,13.83,9.27
2009Aug,6.36,10.18,7.47,10.58,6.65,11.64,8.13,10.74,14.33,12.51,6.80,6.34,3.88,7.66,6.43,5.91,11.18,8.74,13.74,9.28
2009Jul,6.34,10.21,7.44,10.58,6.79,12.03,8.28,10.73,14.44,12.40,6.85,6.15,3.73,7.88,6.43,5.81,11.42,8.74,14.17,9.33
2009Jun,6.61,10.25,7.48,10.85,6.98,11.61,8.52,10.99,14.32,12.36,7.12,6.24,3.81,8.06,6.41,6.19,11.44,10.02,14.43,9.56
2009May,6.57,10.86,7.54,10.87,7.14,12.14,8.80,11.00,14.31,12.42,7.28,7.00,3.71,8.52,6.16,6.24,11.69,10.09,14.34,9.64
2009Apr,6.68,11.19,7.55,10.97,7.08,13.00,8.89,11.06,14.44,12.46,7.36,6.73,4.13,8.87,6.18,6.46,11.59,10.05,14.20,9.73
2009Mar,7.10,11.28,7.60,11.16,7.10,13.78,9.31,11.24,14.46,12.61,7.69,6.91,4.19,9.77,6.19,6.61,11.95,10.05,14.28,9.96
2009Feb,7.18,11.35,7.68,11.19,7.19,13.56,10.02,11.67,14.72,12.87,7.95,7.07,4.29,9.89,6.18,6.62,12.13,10.04,14.17,10.16
2009Jan,7.27,11.41,7.63,11.42,7.34,13.00,10.46,10.98,14.81,13.01,8.24,7.74,4.28,10.38,6.36,6.83,12.48,10.13,14.02,10.15
2008Dec,7.85,11.43,7.43,11.82,7.30,13.43,11.57,10.97,14.83,13.05,8.78,7.87,5.13,11.14,7.16,7.44,12.18,11.13,5.83,10.46
2008Nov,7.93,11.34,7.31,11.88,7.36,13.60,12.33,11.51,15.24,13.67,9.08,8.06,5.37,11.35,7.19,7.70,12.50,11.00,7.45,10.79
2008Oct,8.03,11.42,7.44,12.01,7.36,13.77,12.46,11.35,15.28,13.80,9.14,7.88,5.10,11.77,7.59,7.91,12.57,11.02,9.98,10.83
2008Sep,8.00,11.12,7.43,11.98,7.37,13.52,12.35,11.35,15.15,13.96,9.11,7.80,5.84,11.12,7.99,7.79,12.55,10.97,7.66,10.80
2008Aug,7.92,11.13,7.37,11.94,7.30,13.40,12.24,11.49,15.16,13.67,9.04,7.68,5.36,9.56,7.98,7.44,12.16,10.83,9.71,10.78
2008Jul,7.92,11.30,7.33,11.91,7.27,13.45,12.20,11.17,14.99,13.49,9.03,7.70,5.25,9.84,7.94,7.33,11.94,10.83,7.53,10.66
2008Jun,7.80,11.04,7.05,11.83,7.24,13.28,11.97,11.39,14.49,13.59,8.98,7.27,5.28,11.04,7.61,7.23,11.90,10.75,9.44,10.63
2008May,7.68,11.11,6.84,11.82,7.21,14.06,11.79,11.27,14.48,13.45,8.92,7.31,5.32,9.70,7.62,7.41,11.85,10.81,7.38,10.58
2008Apr,7.68,11.17,6.83,11.81,7.53,14.09,11.74,11.13,14.52,13.47,8.93,7.14,5.35,10.49,7.64,7.36,11.83,10.68,6.96,10.54
2008Mar,7.82,11.16,6.65,11.84,7.37,13.81,11.55,11.10,14.46,13.43,8.86,7.11,5.42,9.31,7.65,7.36,11.78,10.72,7.32,10.52
2008Feb,7.71,11.21,6.60,11.81,7.38,13.57,11.64,10.87,14.48,13.64,8.88,7.04,5.07,9.22,7.65,7.32,11.86,10.77,7.36,10.45
2008Jan,7.79,11.19,6.61,11.87,7.72,13.72,11.78,10.80,14.48,13.63,8.93,7.10,5.39,10.14,7.69,7.33,11.66,10.74,7.16,10.45
2007Dec,7.73,11.09,6.54,11.88,7.88,13.56,11.79,10.76,14.47,13.51,8.85,6.92,5.41,9.98,6.64,7.43,11.57,10.77,-,10.45
2007Nov,7.67,10.95,6.83,11.76,7.69,13.34,11.77,11.19,14.50,13.58,8.88,6.77,5.06,10.68,6.44,7.37,11.72,10.81,-,10.50
2007Oct,7.78,10.84,6.83,11.90,7.76,13.39,11.82,11.38,14.13,13.46,8.94,6.82,5.15,10.18,6.00,7.38,11.89,10.78,-,10.64
2007Sep,7.68,10.72,6.83,11.94,7.08,13.43,11.63,11.12,14.14,13.46,8.83,6.87,5.34,10.01,6.73,7.38,11.78,10.79,-,10.54
2007Aug,7.55,10.74,6.84,11.85,7.21,13.27,11.39,11.51,14.15,13.50,8.72,6.96,5.19,9.65,-,7.24,11.48,10.76,-,10.56
2007Jul,7.57,10.66,6.84,11.76,7.21,13.49,11.33,11.38,14.12,13.52,8.72,7.16,5.25,9.24,-,7.06,11.65,10.74,-,10.50
2007Jun,7.48,10.60,6.84,11.66,7.16,13.28,11.23,10.94,14.09,13.54,8.65,7.32,5.24,9.27,8.01,7.03,11.81,10.74,-,10.39
2007May,7.38,10.39,6.84,11.59,6.98,13.03,11.12,10.83,13.92,13.51,8.72,7.19,5.07,9.31,-,7.10,11.52,10.75,-,10.33
2007Apr,7.39,10.43,6.84,11.52,7.11,13.21,11.02,10.74,13.97,13.33,8.71,7.16,5.30,9.11,-,7.20,11.94,10.74,-,10.30
2007Mar,7.30,10.38,6.85,11.47,6.98,13.01,10.94,10.74,13.88,13.40,8.65,7.51,5.48,8.63,7.04,6.98,11.33,10.82,-,10.22
2007Feb,7.24,10.29,6.85,11.36,7.10,12.72,10.87,11.44,13.85,13.41,8.66,7.49,5.17,8.45,,6.84,11.53,10.82,-,10.33
2007Jan,7.27,10.53,6.85,11.40,7.42,12.74,10.82,10.74,13.87,13.29,8.65,6.94,5.25,8.28,,6.89,10.34,10.85,-,10.15
2006Dec,7.09,10.62,6.85,11.27,7.03,12.18,10.66,10.49,13.80,13.39,8.47,7.38,5.15,7.96,,6.82,10.56,5.05,-,10.03
2006Nov,7.07,10.60,6.84,11.02,6.79,11.93,10.49,10.97,13.81,13.14,8.58,7.48,4.97,7.40,,6.69,11.28,5.04,-,10.08
2006Oct,7.13,10.67,6.84,11.10,6.03,12.50,10.40,10.65,13.72,13.29,8.59,7.51,4.95,7.00,,6.75,11.09,5.01,-,10.04
2006Sep,7.09,,6.85,11.02,5.99,12.71,10.28,10.98,13.58,13.27,8.54,7.40,5.09,6.54,,6.60,10.82,4.76,-,10.06
2006Aug,7.11,,6.65,11.00,5.94,12.58,10.06,10.59,13.60,13.22,8.51,7.26,5.89,6.47,,6.57,9.93,4.75,-,9.93
2006Jul,7.02,,6.65,10.92,6.02,12.55,9.97,10.45,13.41,13.10,8.46,6.70,5.90,6.42,,6.41,11.00,4.77,-,9.86
2006Jun,6.92,,6.65,10.86,5.99,12.46,9.85,10.50,13.45,13.14,8.43,6.59,5.68,6.29,,6.46,10.88,4.45,-,9.85
2006May,6.89,,6.65,10.77,6.20,12.59,9.72,10.50,13.22,13.07,8.40,6.70,5.49,6.43,,6.34,10.65,4.50,-,9.78
2006Apr,6.84,,6.65,10.61,5.95,12.47,9.66,10.57,13.24,13.13,8.44,6.87,5.38,6.31,,6.42,10.54,4.84,-,9.77
2006Mar,6.79,,6.65,10.59,6.20,12.47,9.49,11.35,13.22,13.15,8.35,6.42,5.37,6.49,,6.41,10.32,4.53,-,9.92
2006Feb,6.70,,6.65,10.54,6.42,12.53,9.41,10.33,13.18,13.07,8.27,6.32,5.51,6.38,,6.30,10.70,4.54,-,9.62
2006Jan,6.72,,6.66,10.63,6.52,12.77,9.37,10.98,13.18,13.00,8.34,6.24,5.74,6.59,,6.36,10.41,4.57,-,9.81
2005Dec,6.56,,6.66,10.47,6.40,12.92,9.25,10.94,13.07,13.07,8.16,6.37,5.65,6.26,,6.25,9.79,4.23,-,9.68
2005Nov,6.62,,6.65,10.40,6.29,12.22,9.17,11.16,13.09,12.94,8.19,6.41,5.46,6.56,,6.25,10.15,4.18,-,9.72
2005Oct,6.68,,6.65,10.53,8.82,12.65,9.15,10.71,13.07,13.02,8.25,6.60,5.49,6.38,,6.29,9.90,-,-,9.66
2005Sep,6.70,,6.95,10.42,6.88,12.62,9.15,10.46,13.23,12.97,8.28,6.76,5.40,6.60,,6.41,9.77,-,-,9.61
2005Aug,6.69,,6.95,10.40,7.11,12.66,9.12,10.33,13.16,13.02,8.35,6.87,5.38,5.34,,6.44,9.61,-,-,9.59
2005Jul,6.69,,6.95,10.35,6.96,12.63,9.13,10.14,13.14,12.99,8.36,7.01,5.45,7.13,,6.35,9.99,-,-,9.52
2005Jun,6.83,,6.94,10.38,7.35,12.40,9.13,10.29,13.48,13.10,8.40,7.08,5.52,7.14,,6.36,9.91,-,-,9.62
2005May,6.82,,7.32,10.46,7.44,12.45,9.09,10.13,13.63,13.05,8.48,7.14,5.45,7.13,,6.43,10.25,4.25,-,9.65
2005Apr,6.81,,7.68,10.37,7.66,12.48,9.13,10.11,13.74,13.05,8.53,7.45,5.25,7.18,,6.52,9.96,,-,9.63
2005Mar,6.92,,7.68,10.36,7.44,12.47,9.09,10.16,13.51,13.29,8.38,8.35,5.30,7.11,,6.64,10.07,,-,9.60
2005Feb,6.86,,7.81,10.30,7.52,12.35,9.13,10.26,13.72,13.43,8.56,,5.46,6.90,,6.58,10.17,,-,9.66
2005Jan,6.89,,7.81,10.32,7.55,12.51,9.20,10.13,13.42,13.41,8.64,,5.11,7.15,,6.58,9.99,,-,9.63
2004Dec,6.85,,7.81,10.30,6.93,12.08,9.15,10.45,13.41,13.05,8.39,,5.28,6.87,,6.58,9.48,,-,9.63
2004Nov,6.87,,7.81,10.22,6.68,11.93,9.25,11.03,13.75,13.14,8.55,,5.32,7.27,,6.75,10.12,,-,9.81
2004Oct,6.96,,7.81,10.26,6.65,12.37,9.22,10.76,13.72,13.33,8.62,,5.45,7.87,,6.76,9.95,,-,9.79
2004Sep,7.07,,7.81,10.33,6.60,11.97,9.23,11.04,13.62,13.28,8.60,,5.56,8.09,,6.77,9.83,,-,9.86
2004Aug,7.01,,7.81,10.33,6.88,11.88,9.19,10.65,13.77,13.21,8.64,,5.50,8.12,,6.72,9.82,,-,9.77
2004Jul,6.97,,7.81,10.35,6.87,11.90,9.21,10.73,13.84,13.05,8.60,,5.49,9.03,,6.72,9.99,,-,9.80
2004Jun,7.07,,7.81,10.38,7.43,12.36,9.18,10.72,13.89,13.05,8.51,,5.64,9.36,,6.66,10.10,,-,9.80
2004May,7.80,,7.81,10.35,8.00,12.02,9.04,10.43,13.79,13.14,8.49,,5.75,7.48,,6.69,10.30,,-,9.82
2004Apr,7.84,,6.93,10.36,8.46,12.01,9.03,10.67,14.06,13.10,8.56,,5.61,6.78,,6.84,10.59,,-,9.92
2004Mar,7.92,,6.93,10.38,13.85,12.05,9.03,10.52,14.00,12.76,8.52,,5.71,7.99,,6.79,10.58,,-,9.86
2004Feb,7.84,,6.93,10.40,9.78,12.46,9.14,10.88,13.97,12.67,8.60,,5.56,7.68,,6.79,10.71,,-,9.97
2004Jan,7.77,,6.93,10.40,10.78,12.99,9.15,10.74,13.92,12.80,8.57,,5.64,7.77,,6.76,10.49,,-,9.93
2003Dec,7.75,,6.93,10.48,10.17,13.29,9.10,10.92,14.09,12.88,8.44,,5.49,,,6.69,9.80,,,9.96
2003Nov,7.70,,6.93,10.27,9.32,12.97,9.35,11.06,14.27,12.76,8.53,,5.76,,,6.65,10.11,,,9.95
2003Oct,7.91,,6.93,10.41,10.34,12.73,9.30,10.99,14.22,12.85,8.59,,5.79,,,6.70,10.00,,,9.99
2003Sep,7.99,,6.93,10.47,10.94,12.98,9.28,11.18,14.14,12.69,8.65,,5.86,,,6.68,9.97,,,10.06
2003Aug,8.04,,6.93,10.38,12.54,12.92,9.30,11.12,14.05,12.68,8.66,,5.75,,,6.70,9.81,,,10.02
2003Jul,8.02,,6.93,10.44,12.79,13.20,9.28,11.10,14.24,12.64,8.70,,5.74,,,6.44,10.17,,,10.03
2003Jun,8.20,,6.85,10.65,10.06,12.76,9.39,11.34,14.54,12.94,8.79,,6.00,,,6.52,10.22,,,10.22
2003May,8.18,,6.73,10.58,9.89,13.18,9.63,11.40,14.58,12.56,8.87,,6.12,,,6.59,10.08,,,10.23
2003Apr,8.24,,6.74,10.71,9.87,12.95,9.62,11.50,14.76,12.65,8.91,,6.07,,,6.74,10.24,,,10.32
2003Mar,8.38,,7.16,10.73,8.92,12.71,9.65,11.57,14.66,12.26,8.96,,6.21,,,6.82,10.23,,,10.35
2003Feb,8.33,,7.16,10.84,-,12.93,9.74,11.69,14.68,12.62,9.03,,6.11,,,6.76,10.30,,,10.44
2003Jan,8.39,,7.16,10.57,-,13.11,9.75,11.66,14.71,12.49,9.07,,6.36,,,6.95,10.15,,,10.33
2002Dec,8.41,10.87,7.03,10.92,-,12.96,9.85,11.65,14.54,12.84,9.13,,,,,6.95,8.10,,,10.54
2002Nov,8.50,10.87,,10.82,-,12.96,9.96,11.65,14.48,13.06,9.22,,,,,7.94,8.10,,,10.60
2002Oct,8.51,11.22,,10.96,-,13.02,10.13,11.65,14.51,13.06,9.26,,,,,7.94,8.30,,,10.69
2002Sep,8.54,11.22,,10.97,-,13.18,10.25,11.95,14.40,13.06,9.22,,,,,7.94,8.10,,,10.71
2002Aug,8.51,11.22,,10.94,-,13.16,10.18,11.96,15.84,13.06,9.26,,,,,7.94,8.50,,,10.77
2002Jul,8.55,11.22,,10.93,-,13.21,10.17,11.96,15.87,13.06,9.28,,,,,7.94,8.10,,,10.77
2002Jun,8.50,11.22,,10.96,-,13.16,10.09,12.05,15.91,13.06,9.24,,,,,7.94,8.40,,,10.80
2002May,8.50,11.22,,10.92,-,13.15,10.13,12.03,15.94,13.06,9.19,,,,,7.94,8.40,,,10.76
2002Apr,8.50,11.22,,10.92,-,13.17,10.15,12.03,15.93,13.06,9.20,,,,,7.94,7.90,,,10.74
2002Mar,8.53,11.22,,10.82,-,13.10,10.00,11.85,15.88,13.06,9.21,,,,,7.94,8.10,,,10.66
2002Feb,8.54,11.22,,10.87,-,13.15,9.98,11.85,15.90,13.06,9.24,,,,,7.94,8.50,,,10.69
2002Jan,8.50,11.22,,10.89,-,13.05,10.11,11.85,15.88,13.06,9.24,,,,,7.94,8.60,,,10.69
2001Dec,8.56,11.22,,10.90,-,13.27,10.15,11.78,15.39,13.06,9.28,,,,,7.94,9.20,,,10.73
2001Nov,8.61,11.26,,10.96,-,13.20,10.25,11.77,15.46,13.06,9.51,,,,,7.94,10.00,,,10.81
2001Oct,8.65,11.58,,11.04,-,13.25,10.48,11.77,15.57,13.51,9.72,,,,,8.93,10.40,,,10.97
2001Sep,8.69,11.77,,11.07,-,13.22,10.61,12.03,15.83,13.91,9.85,,,,,8.93,9.90,,,11.04
2001Aug,8.81,12.47,,11.19,-,13.24,11.05,12.03,15.75,14.24,9.89,,,,,10.42,10.20,,,11.23
2001Jul,8.79,12.62,,11.17,-,13.19,11.12,12.03,15.73,14.24,9.93,,,,,10.42,10.60,,,11.25
2001Jun,8.74,12.62,,11.24,-,13.15,11.15,12.28,15.76,14.24,9.96,,,,,10.42,10.10,,,11.30
2001May,8.83,12.62,,11.12,-,13.17,11.28,12.29,16.08,14.24,10.03,,,,,10.42,10.80,,,11.29
2001Apr,8.83,12.62,,11.24,-,13.15,11.35,12.29,16.44,14.41,10.05,,,,,10.92,10.70,,,11.37
2001Mar,8.84,12.60,,11.22,-,13.13,11.43,12.09,16.52,14.41,10.06,,,,,10.92,10.80,,,11.33
2001Feb,8.84,12.62,,11.25,-,13.13,11.40,12.09,17.09,14.41,10.09,,,,,10.92,11.00,,,11.36
2001Jan,8.87,12.62,,11.33,-,13.18,11.49,12.09,17.19,14.41,10.13,,,,,10.92,10.70,,,11.39
2000Dec,8.83,12.63,,11.21,-,12.93,11.39,11.81,17.80,14.41,10.16,,,,,10.92,10.80,,,11.31
2000Nov,9.05,12.63,,11.27,-,12.93,11.48,11.81,18.00,14.38,10.23,,,,,10.92,10.10,,,11.32
2000Oct,9.12,12.27,,11.17,-,12.87,11.49,11.81,18.21,14.34,10.20,,,,,10.92,10.10,,,11.25
2000Sep,9.07,12.27,,10.92,-,12.89,11.35,11.69,18.39,14.00,9.98,,,,,10.42,9.60,,,11.04
2000Aug,9.06,12.27,,10.88,-,13.01,11.32,11.70,18.59,13.93,9.76,,,,,9.92,9.80,,,10.97
2000Jul,9.00,11.57,,10.86,-,13.01,11.09,11.70,18.66,13.93,9.78,,,,,9.92,10.30,,,10.95
2000Jun,9.12,11.55,,10.50,-,12.95,11.03,11.04,19.25,13.57,9.60,,,,,9.92,9.50,,,10.68
2000May,9.06,11.55,,10.25,-,13.02,10.83,11.03,19.35,13.08,9.36,,,,,8.93,9.40,,,10.44
2000Apr,8.99,10.82,,10.21,-,13.01,10.54,11.03,20.46,13.08,9.18,,,,,8.44,9.20,,,10.33
2000Mar,8.90,10.48,,10.02,-,12.96,10.49,10.92,20.87,12.84,9.05,,,,,8.44,9.10,,,10.16
2000Feb,8.93,10.14,,9.96,-,12.95,10.35,10.91,21.22,12.53,8.97,,,,,7.94,9.10,,,10.09
2000Jan,8.83,10.01,,9.81,-,12.96,10.28,10.91,21.62,12.53,8.88,,,,,7.44,9.00,,,9.98
\ No newline at end of file
[openweather]
api_key=425b9b9e2416cjfr47329434jk2lX4u32
[twitter]
consumer_key = CIuYfkdFw8392kdfHuioj
consumer_secret = 4QiJw1wkd902eklfjs920skcSwikFpkl3289
access_token = 15632343-qaMfjk1ri8eklclfiFisoTwjneio48930
access_token_secret = FAifw894jk3l24h543ljfs89hC9fhjFhkjrel3784
[google]
api_key=AI16cjfr47329434jk2lX4u32
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"import pandas as pd"
]
},
{
"cell_type": "code",
"execution_count": 7,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"df = pd.DataFrame()"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {
"collapsed": false
},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [