Giter Club home page Giter Club logo

mahmoudhassan / bike-share-analyzer Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 102 KB

BikeShareAnalyzer is a Python tool for analyzing bike share data. Get insights on popular times, stations, trip durations, and user information. Analyze data for cities like Chicago, New York, and Washington. Make informed decisions with valuable insights.

License: MIT License

Python 100.00%
bike-share chicago cities data-analysis insights new-york-city popular-times stations statistics user-information washington informed-decisions trip-durations

bike-share-analyzer's Introduction

Bike share analyzer

bike-share-analyzer bike-share-analyzer is a Python command-line tool for analyzing bike share data. It provides various statistics and insights based on selected filters, such as popular times of travel, stations, trip durations, and user information. Analyze bike share data for cities like Chicago, New York, and Washington and make informed decisions based on the data.

Installation

To make the project work smoothly, you need the following libraries installed:

  • colorama: For colored terminal text. Install with pip install colorama.
  • tabulate: For formatted tables. Install with pip install tabulate.
  • prompt_toolkit: For command-line interfaces. Install with pip install prompt_toolkit.
  • termcolor: For colored text in the terminal. Install with pip install termcolor.
  • pyfiglet: For ASCII art. Install with pip install pyfiglet.
  • pandas: For data manipulation. Install with pip install pandas.

You can install all the required libraries by running the following command:

pip install colorama tabulate prompt_toolkit termcolor pyfiglet pandas

Once you have the libraries installed, you can run the script by executing python bikeshare.py in your terminal or command prompt. Make sure the bike share data files (chicago.csv, new_york_city.csv, washington.csv) are in the same directory as the script.

Usage

  1. Upon running the program, you will see a splash screen with the title "Bike share EDA".
  2. Follow the on-screen prompts to select a city, time filter, and specific day/month if applicable.
  3. The program will load and analyze the data based on your selections, displaying various statistics and the raw data.
  4. You can choose to view more raw data or exit the program.

Features

  • Select a city (Chicago, New York, Washington) to analyze bike share data.
  • Choose a time filter (Day, Month, Both, None) to filter the data by day of the week and/or month.
  • View statistics for popular times of travel, stations, trips, trip durations, and user information.
  • View raw data in chunks and choose to view more or exit.

Contributing

Contributions to BikeShareAnalyzer are welcome! If you find any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License.


Note: The bike share data files (data/chicago.csv, data/new_york_city.csv, data/washington.csv) are not included in this repository. Make sure to have the appropriate data files available in the same directory as the program to run the analysis.

Enjoy analyzing the bike share data!

bike-share-analyzer's People

Contributors

mahmoudhassan avatar

Watchers

 avatar

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.