import pandas as pd
df = pd.read_csv("data/ml-ready/cdi-customer-churn.csv")
df.head()| customer_id | tenure_months | monthly_spend | support_calls | contract_type | autopay | churn | |
|---|---|---|---|---|---|---|---|
| 0 | C100000 | 6 | 45.85 | 2 | one-year | no | 0 |
| 1 | C100001 | 17 | 69.95 | 1 | month-to-month | yes | 1 |
| 2 | C100002 | 64 | 70.98 | 0 | month-to-month | no | 1 |
| 3 | C100003 | 59 | 33.02 | 2 | month-to-month | yes | 0 |
| 4 | C100004 | 8 | 70.74 | 0 | month-to-month | yes | 1 |