assignment python
assignment python
BUSINESS REPORT
PGP – DSBA.O.MAY.24.A
MUSKAN SETIYA
Contents
List of Figures ..................................................................................................... 3
List of Tables ...................................................................................................... 4
1) Understanding the data and its Structure: ..................................................... 5
2) Data checks and treating irregularities: .......................................................... 5
Checking missing data fields ........................................................................... 5
Checking data consistency .............................................................................. 6
Checking statistical summary of the data ........................................................ 7
3) Univariate Analysis ......................................................................................... 8
4) Bivariate Analysis ......................................................................................... 15
5) Key Questions .............................................................................................. 18
6) Recommendations ....................................................................................... 24
List of Figures
Fig 1.1 – Missing data fields
Fig 1.2 – Unique column values
g 1.3 – Statistical Summary
Fig 1.4 – Bar Chart - Gender
Fig 1.5 – Bar Chart - Profession
Fig 1.6 – Bar Chart – Marital Status
Fig 1.7 – Bar Chart – Education
Fig 1.8 – Bar Chart – Personal Loan
Fig 1.9 – Bar Chart – House Loan
Fig 1.10 – Bar Chart – Partner Working
Fig 1.11 – Bar Chart – Vehicle Type
Fig 1.12 – Histogram – Age
Fig 1.13 – Histogram – Salary
Fig 1.14 – Histogram – Partner Salary
Fig 1.15 – Histogram –Total Salary
Fig 1.16 – Histogram –Price
Fig 1.17 – Pairplot
Fig 1.18 – Correlation Table
Fig 1.19 – Correlation Matrix
Fig 1.20 - Car Preference within males and females
Fig 1.21 – Car preference within professions
Fig 1.22 – Vehicle distribution – By profession and gender
Fig 1.23- Total amount spent on vehicles- By gender
Fig 1.24 – Total amount spent on vehicles- By personal loan
Fig 1.25 – Influence of partner working on purchase of high-priced cars
List of Tables
• We checked the unique values of all the categorical data within the dat
a set and found that data under column gender is inconsistent. It cont
ains records that mentions - 'Male' 'Femal' 'Female' nan 'Femle']
• ‘Femal’ and ‘Femle’ were replaced with ‘Female’
o Observations
▪ Mean age is 31.9 years and max is 54 years
▪ Average number of dependents 2.45 ~ 2-3 dependents
▪ Average salary is ~60,000
▪ Average partner salary is ~ 19000
▪ Average total salary is ~80000 with maximum as 171000
▪ Average price at which the vehicle is bought is ~36000 and
highest price is 70000
3) Univariate Analysis
a) There are more males (n=1199) in the data than females (n=329)
4) Bivariate Analysis
• Correlation Table –
• Correlation Matrix –
5) Key Questions
• Observation:
• Recommendation
• Observation:
• Recommendation
• Observation:
The statement made by Sheldon Cooper is false as -
o Salaried Male prefer Sedan over SUVs
o Salaried female prefers SUVs the most followed by Sedan
• Observation:
o On an average, females spend more than males on cars
• Recommendation:
o Focusing marketing efforts on females could help boost the profits
of the business
• Observation:
o People who do not have a personal loan spend slightly more on an
average as compared to people who do not
• Recommendation:
o Marketing efforts do not need to be segmented based on whether
individuals have a personal loan or not
• Observation:
o Having a working partner does not lead to purchase of high-priced
cars
• Recommendation:
o Marketing efforts do not need to be segmented based on whether
people have a working partner or not
6) Recommendations
• To increase sales: