Question
chrome-extension://gbkeegbaiigmenfmjfclcdgdpimamgkj/views/app.html python code send to me Question 1 Create a data frame that contains all the data from Customer.xlsx (1 mark) Question 2 Count the
chrome-extension://gbkeegbaiigmenfmjfclcdgdpimamgkj/views/app.html python code send to me
Question 1 Create a data frame that contains all the data from Customer.xlsx (1 mark)
Question 2 Count the number of customers who made payment via credit card, cheque and cash. (2 marks)
Question 3 Plot a graph with different payment methods. Y-axis should represent the different types of payment methods, X-axis as Number of Customers. The title of the graph should be "Payment Methods" (2 marks)
Question 4 Drop all rows with missing value(s)
Question 5 Normalize LastTransaction values to a range of 0 to 1
Question 6 Replace the following values of Payment method (2 marks) 0-credit card 1-cheque 2-cash
Question 7 You are required to create a prediction model to predict churn based on GaussianNB model using the dataset that you have preprocessed until question 6. The training size is 80% and testing is 20%. Use split validation to validate your model.(5 marks)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started