Skip to content

xenia-e/PyBer_Analysis

Repository files navigation

PyBer_Analysis

Overview of the analysis

The purpose of the analysis is to find how data differs by city type and how those differences can be used by decision-makers in PyBer.

Resources

Data source: city_data.csv, ride_data.csv

Methods

We performed the analysis on the provided datasets using Python, Jupyter Notebook, and Matplot library.

Deliverables

Results

Referring to the "Ride-sharing Summary by City Type" and "Total Fare by City Type" figures we can assume that ride-sharing is more popular in urban cities.

A ride-sharing summary DataFrame by city type

Figure - 1. Ride-sharing Summary by City Type.

Total Fare by City Type

Figure - 2. Total Fare by City Type.

Urban cities have the lowest fare per ride. None the less the Total Fare is almost ten times higher than it is in the other types of cities. The average number of drivers in urban cities is four to nine times greater than in suburban rural cities, respectively. Also, the average number of rides in urban cities is about 4-times greater than in suburban and rural cities.

We can assume all this is a result of the larger population in urban cities. And average fare per ride in rural and suburban cities is higher because of the longer ride distance. To prove this assumption we should calculate percentages of pyBer users to the average population in that region. And calculate the average fare per mile or kilometer to determine if it is indeed higher for the suburban and rural cities.

Summary

As a summary of the performed analysis, we can suggest the following:

  1. Make mentioned above additional calculations to get into the nature of differences in performance between different types of cities.
  2. Based on the additional data adjust fare prices for rides depending on the distance.
  3. Popularise ride-sharing in suburban and urban cities if projected total fares growth will cover marketing expenses.

About

matplotlib practice

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published