Skip to content

Analyze and visualize ride-sharing data using the power of Python, Pandas, and Matplotlib

Notifications You must be signed in to change notification settings

dw251414/PyBer_Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyBer_Analysis

Analyze and visualize ride-sharing data using the power of Python, Pandas, and Matplotlib

Project Overview

Analyzing company profits and customer demographics for a ride sharing app:

  1. A bubble chart that showcases the average fare versus the total number of rides with bubble size based on the total number of drivers for each city type
  2. The mean, median, and mode for the following:
    • The total number of rides for each city type.
    • The average fares for each city type.
    • The total number of drivers for each city type.
  3. Box-and-whisker plots that visualize each of the following to determine if there are any outliers:
    • The number of rides for each city type.
    • The fares for each city type.
    • The number of drivers for each city type.
  4. A pie chart that visualizes each of the following data for each city type:
    • The percent of total fares.
    • The percent of total rides.
    • The percent of total drivers.

Resources

Data Sources: city_data.csv ride_data.csv

Software: Python 3.7.1 Pandas 0.25.2 Matplotlib 3.1.1

Summary

RideSharingData Fig2 RideFareData DriverCountData Fig5 Fig6 Fig7

     See PyBer.ipynb for summary statistics

Challenge Overview

Providing a summary table of key metrics. Including, ride-sharing data / city type, and a multi-line graph indicating average fare / week / city type.

Challenge Summary

Summary DataFrame

Findings show great amounts of business conducted in urban cities, in comparison to suburban or rural (4-10x number of rides, & 5-30x number of drivers). Furthermore, the average fares are the lowest for drivers and rides in urban cities (indicating shorter duration, & cheaper trips in urban areas - as well as the high volume of drivers, & less earned $ on average in comparison to rural and/or suburban data).

Multiple-line Graph

Showing trends across city types: Urban, outrighly accounting for the most expensive fares, followed by suburban, and lastly rural. The city types do appear to mirror eachother with perhaps a passive relationship (rising and plateauing in similar fashion Jan - Apr).

Implications

Indicates a solid visual represenation of what may be socioeconomic bracketing / city type. While there are no intersectional point between the difference city types, their trend lines move in unison through time - giving us a vague interpretation, but an insight nonetheless (that we could absolutely look further into if prompted), to macro-economic conditions & factors which may play a role in market volatility (fare$). challenge_figure

About

Analyze and visualize ride-sharing data using the power of Python, Pandas, and Matplotlib

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published