Question: se the PaymentMethod column and create a new column named AutoPayment. If the PaymentMethod has the word automatic, make the values in this column 1.

se the PaymentMethod column and create a new column named AutoPayment. If the PaymentMethod has the word automatic, make the values in this column 1. Otherwise, make its values 0. Hints: You will iterate through each observation in the PaymentMethod column to check if that particular observation has the word automatic. If yes, assign 1 to this newly created column. Otherwise, assign 0. This column will tell us if customers do automatic payment. Check Module 1e: String operations. You may need to use a function such as find(). Also check Module 2b: for loops and Module 2e: Conditional Statements

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 General Management Questions!