Skip to content

Instantly share code, notes, and snippets.

View dsoniran's full-sized avatar
👩‍💻
Learning

Dáre dsoniran

👩‍💻
Learning
View GitHub Profile
@dsoniran
dsoniran / 4_Extended_Tasks_Task_1.py
Created April 19, 2021 21:27
Data analysis for pubs_of_london
## Total Number of pubs per borough
import csv
# frequency of local authority == number of pubs
with open('../4_Extended_Tasks/london_pubs.csv', 'r') as pubs_csv:
spreadsheet = pubs_csv.read()
camden = spreadsheet.count("Camden")
greenwhich = spreadsheet.count("Greenwhich")