Skip to content

adongardive/Module_05

Repository files navigation

Module 05 Notebook

This repository contains the Jupyter notebook for Amit Dongardive's Module 05 submission, where we analyze the acceptance rates of different types of coupons based on various demographic and behavioral factors.

Overview

The notebook performs the following analyses:

  1. Bar Coupons Analysis:

    • Create a new DataFrame containing only bar-related coupons.
    • Calculate the proportion of bar coupons accepted.
    • Compare acceptance rates between those who visit bars 3 or fewer times a month and those who visit more frequently.
    • Compare acceptance rates between drivers who go to bars more than once a month and are over the age of 25 to all other drivers.
    • Compare acceptance rates for drivers who frequent bars more than once a month, had passengers other than kids, and had occupations other than farming, fishing, or forestry.
  2. Coffee House Coupons Analysis:

    • Create a new DataFrame containing only coffee house-related coupons.
    • Calculate the overall acceptance rate for coffee house coupons.
    • Compare acceptance rates based on age groups, marital status, income groups, and occupation.

Getting Started

Follow these instructions to get a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • Python 3.x
  • Jupyter Notebook
  • Pandas
  • Numpy

Installing

  1. Clone the repository:
    git clone https://github.com/your-username/Module_05_Notebook.git
    
  2. Navigate to the repository directory:
    cd Module_05_Notebook
    
  3. Install the required packages:
    pip install -r requirements.txt
    

Running the Notebook

  1. Start the Jupyter Notebook:
    jupyter notebook
    
  2. Open the notebook Amit_Dongardive_Module05_July2024_v01.ipynb and run the cells to perform the analysis.

Analysis Highlights

Bar Coupons Analysis

  • Proportion of Bar Coupons Accepted: Approximately 41%
  • Acceptance Rates by Frequency of Bar Visits:
    • 3 or fewer visits per month: 37.07%
    • More than 3 visits per month: 76.88%
  • Acceptance Rates by Age and Frequency:
    • Drivers who go to bars more than once a month and are over the age of 25: 69.52%
    • All other drivers: 33.50%
  • Acceptance Rates by Additional Criteria:
    • Drivers who go to bars more than once a month, had passengers other than kids, and had occupations other than farming, fishing, or forestry: [insert percentage]

Refer the PDF Version the Notebook.pdf file for more details on the code, plots and analysis.

Contributing

None

License

None

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published