Paramedic Incident Data

less than 1 minute read

Published:

** UNDER CONSTRUCTION **

An examination of Toronto Paramedic Services’ dispatch and incident data found on The City of Toronto’s Open Dataset site

Section 1

1.0 Loading and cleaning data
# !{sys.executable} -m pip install requests
# !{sys.executable} -m pip install pandas
# !{sys.executable} -m pip install xlrd
# !{sys.executable} -m pip install openpyxl
# !{sys.executable} -m pip install matplotlib
import sys
import pandas as pd
import requests
import matplotlib.pyplot as plt

dispatches = pd.read_excel(r'/Users/erincameron/Desktop/datacamp/github/datacamp/datasets/tps_incident_data_2010-2019.xlsx')
dispatches.head()