Grouping and summarizing data

Marketinganalyse: klantverloop voorspellen in Python

Mark Peterson

Director of Data Science, Infoblox

Churners and non-churners

print(telco['Churn'].value_counts())
no     2850
yes     483
Name: Churn, dtype: int64
Marketinganalyse: klantverloop voorspellen in Python

Model outcomes

Two classes:

  • 'yes': Customer will churn
  • 'no': Customer will not churn
Marketinganalyse: klantverloop voorspellen in Python

Differences between churners and non-churners

  • Do churners call customer service more often?
  • Does one state have more churners compared to another?
Marketinganalyse: klantverloop voorspellen in Python

Grouping and summarizing data

  • .groupby()
Marketinganalyse: klantverloop voorspellen in Python

Let's group and summarize!

Marketinganalyse: klantverloop voorspellen in Python

Preparing Video For Download...