brimoe / Clustering_Toronto

Applied Data Science project of Clustering Neighborhoods in Toronto.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Segmenting and Clustering Neighborhoods in Toronto

IBM Applied Data Science Capstone: Case Study Project

Date: Feb 2021

Introduction:

For this data project, I segmented and clustered the neighborhoods in Toronto, Canada, based on postal code and district information found from an open data source. Then, I generated a folium map to visualize the communities and how they cluster together.

Data :

The data I used is a Wikipedia page with the postal code and district information for Toronto. Considering the latitude and longitude values were not included in the data, I used a separate CSV_file that contains the geographical coordinates of each postal code.

Methodology:

To prepare for this analysis, I used the beautiful soup package to scrape the Wikipedia page, wrangle, clean, then transform the data into a pandas data frame. After converting the data for each neighborhood into a data frame, I added the geospatial CSV file into my data frame. Finally, I utilized the Foursquare location data to get the geographical coordinates of Toronto, Canada and displayed my data in a folium map.

About

Applied Data Science project of Clustering Neighborhoods in Toronto.


Languages

Language:Jupyter Notebook 100.0%