This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Expenditure Percent | |||||||
---|---|---|---|---|---|---|---|
Expenditure Type | 25-34 | 35-44 | 45-54 | 55-64 | 65-74 | 75+ | |
Food | 12.74 | 12.13 | 12.75 | 11.86 | 12.28 | 12.3 | |
Housing | 35.28 | 33.17 | 31.63 | 32.59 | 35.58 | 37.28 | |
Transportation | 18.18 | 18 | 16.5 | 15.54 | 14.93 | 11.9 | |
Healthcare | 5.27 | 6.47 | 6.73 | 8.65 | 12.38 | 15.56 | |
Insurance | 13.06 | 13.91 | 13.87 | 13.34 | 6.98 | 2.85 | |
Cash Contr. | 1.45 | 2.78 | 3 | 4.07 | 5.08 | 8.88 | |
Entertainment | 5.03 | 5.33 | 5.6 | 5.25 | 6.04 | 4.59 | |
Education | 1.59 | 1.38 | 3.07 | 2.07 | 0.45 | 0.71 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Create a wordcloud quiz game from Wikipedia film pages.""" | |
import matplotlib.pyplot as plt | |
from matplotlib import patches | |
import requests | |
from bs4 import BeautifulSoup | |
from wordcloud import WordCloud, STOPWORDS | |
# Create dictionary of movie Wikipedia pages: | |
urls = {'avengers infinity war': 'https://w.wiki/3hxu', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mr. Sherlock Holmes, who was usually very late in the mornings, save | |
upon those not infrequent occasions when he was up all night, was seated | |
at the breakfast table. I stood upon the hearth-rug and picked up the | |
stick which our visitor had left behind him the night before. It was a | |
fine, thick piece of wood, bulbous-headed, of the sort which is known as | |
a �Penang lawyer.� Just under the head was a broad silver band nearly | |
an inch across. �To James Mortimer, M.R.C.S., from his friends of the | |
C.C.H.,� was engraved upon it, with the date �1884.� It was just such a | |
stick as the old-fashioned family practitioner used to carry--dignified, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
year | population | |
---|---|---|
-192000 | 2 | |
-10000 | 4000000 | |
-5000 | 5000000 | |
-4000 | 7000000 | |
-3000 | 14000000 | |
-2000 | 27000000 | |
-1000 | 50000000 | |
-200 | 150000000 | |
1 | 170000000 |
We can't make this file beautiful and searchable because it's too large.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
latin,common,latitude,longitude | |
Quercus palustris,pin oak,40.79411067,-73.81867946 | |
Quercus palustris,pin oak,40.74068684,-73.80826026 | |
Quercus palustris,pin oak,40.53211313,-74.1561806 | |
Quercus palustris,pin oak,40.85677447,-73.89097861 | |
Quercus palustris,pin oak,40.78993607,-73.97721169 | |
Quercus palustris,pin oak,40.74503399,-73.98253015 | |
Quercus palustris,pin oak,40.73599985,-73.99985935 | |
Quercus palustris,pin oak,40.76686765,-73.89540541 | |
Quercus palustris,pin oak,40.68194327,-74.00410729 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
School | Street Address | Town | Latitude | Longitude | |
---|---|---|---|---|---|
Sunshine Harvester | 132 Hertford Road | Sunshine 3020 | -37.7828649 | 144.8457061 | |
Dinjerra | 44 South Road | Braybrook 3019 | -37.79160094 | 144.8564986 | |
Altona North | 51 Cresser Street | Altona North 3025 | -37.8378758 | 144.8500279 | |
Newport Gardens | Cnr Woods St & Maddox Rd | Newport 3015 | -37.8452031 | 144.8686781 | |
Newport Lakes | Elizabeth Street | Newport 3015 | -37.83832991 | 144.8783805 | |
Spotswood | Melbourne Road | Spotswood 3015 | -37.83062433 | 144.8819261 | |
Wembley | 32 St Leonards Ave | Yarraville 3013 | -37.82064135 | 144.8744036 | |
Kingsville | 58 Bishop Street | Yarraville 3013 | -37.8125611 | 144.8746236 | |
Yarraville West | 30 Powell Street | Yarraville 3013 | -37.8146896 | 144.8851951 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Year | Week | Poll | Rank | Team | Conference | |
---|---|---|---|---|---|---|
2002 | 18 | Final | 1 | Ohio State | Big Ten | |
2002 | 18 | Final | 2 | Miami (FL) | Big East | |
2002 | 18 | Final | 3 | Georgia | SEC (East) | |
2002 | 18 | Final | 4 | USC | Pac-10 | |
2002 | 18 | Final | 5 | Oklahoma | Big 12 (South) | |
2002 | 18 | Final | 6 | Texas | Big 12 (South) | |
2002 | 18 | Final | 7 | Kansas State | Big 12 (North) | |
2002 | 18 | Final | 8 | Iowa | Big Ten | |
2002 | 18 | Final | 9 | Michigan | Big Ten |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create a 3-D simulation of a spiral galaxy. | |
import math | |
from random import randint, uniform, random | |
import numpy as np | |
import matplotlib.pyplot as plt | |
plt.style.use('dark_background') | |
get_ipython().run_line_magic('matplotlib', 'qt') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import math | |
import tkinter as tk | |
from random import randint, uniform, random | |
# Set scaling factor for galaxy: | |
SCALE = 225 | |
# set-up tkinter display canvas: | |
root = tk.Tk() | |
root.title("A Spiral Galaxy") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Year | H | MH | |
---|---|---|---|
1920 | 4 | 0 | |
1921 | 5 | 2 | |
1922 | 3 | 1 | |
1923 | 4 | 1 | |
1924 | 5 | 2 | |
1925 | 1 | 0 | |
1926 | 8 | 6 | |
1927 | 4 | 1 | |
1928 | 4 | 1 |
NewerOlder