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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!