Posts

Showing posts from July, 2020

Data Visualization of 911 Calls

Image
Data Visualization of 911 Calls Introduction In this project, I have analyzed some 911 call data from Kaggle . The data contains the following fields: lat : String variable, Latitude lng: String variable, Longitude desc: String variable, Description of the Emergency Call zip: String variable, Zipcode title: String variable, Title timeStamp: String variable, YYYY-MM-DD HH:MM:SS twp: String variable, Township addr: String variable, Address e: String variable, Dummy variable (always 1) First, we will have to make some changes in the dataset so we can perform the visualizations.  Creating a New Feature In the titles column, there are "Reasons/Departments" specified before the title code. These are EMS, Fire, and Traffic. By using  .apply() with a custom lambda expression I have created a new column called "Reason" that contains this string value. For example, if the title column value is EMS: BACK PAINS/INJURY, the Reason column value woul