Skip to content

Instantly share code, notes, and snippets.

@ParthNipunDave
Created April 12, 2021 09:10
Show Gist options
  • Select an option

  • Save ParthNipunDave/793636325665850c61d24b7ef6a23f11 to your computer and use it in GitHub Desktop.

Select an option

Save ParthNipunDave/793636325665850c61d24b7ef6a23f11 to your computer and use it in GitHub Desktop.
# Unique Values
data['DeviceProtection'].unique()
# Value Counts and Visualization
print("Device Protection\n",data['DeviceProtection'].value_counts())
sns.countplot(data['DeviceProtection'])
# Device Protection Wise Churn Rate
sns.countplot(data=data,x='DeviceProtection',hue="Churn")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment