Coder Social home page Coder Social logo

pyber_analysis's Introduction

PyBer_Analysis

Overview of the analysis

PyBer, a ride-sharing app company operating in three types of cities: urban, suburban, and rural. First, we analyzed the ride count, average fare per ride, and average number of drivers depending on the type of city. Also we compared each city's metrics and the average ride fare to the total number of rides per city. Now we need to create a data frame that organized total rides, total drivers, total fares, average fare per ride, and average fare per driver and finally create a multiple-line chart, describe the differences in ride-sharing data among the different city types.

Results

Summary DataFrame

Summary_DataFrame

The Urban city type has the largest number of drivers and rides, although the average fare per ride and per driver is the lowest.

The Rural city type, on the contrary, has a minimum number of drivers and rides while the average fare per ride and per driver is the highest.

This situation looks quite logical as it reflects the fundamentals of economic theory.

In the big cities, there are significantly more drivers than rides and it keeps the fare per ride and fare per driver quite low.

In the rural cities the number of drivers less than the total number of rides, therefore, the demand for drivers is high which allows fares to be high.

Total Fare by City Type Chart

multiple_line_chart

The multiple line chart displaying total fares for urban, suburban, and rural city types for each week between January 1, 2019 and April 29, 2019.

As we can see on the chart, seasons dependency is not very typical for these charts.

All the charts follow the same trend throughout the months. We can highlight the end of February as a weekly expressed maximum for all three charts.

Also, the multiple line chart clearly demonstrates that the urban cities have the highest fare rate, then follow suburban cities and the rural cities have the lowest rate through all months.

Summary

  1. The company needs to increase the number of rides in Urban cities. The total fare for Urban cities is highest while the drivers can experience a lack of work. An advertising campaign can be considered as a good way to influence the number of rides. The company could launch an advertising campaign at the end of February when the total fare rate is increasing.

  2. Probably the company should redirect some of the drivers from Urban to other types of cities such as Suburban and Rural.

  3. The company should think about decreasing the fare per ride for Rural and Suburban cities. This would help to increase the number of rides for these types of cities.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.