Skip to content

Instantly share code, notes, and snippets.

@ParthNipunDave
Created April 12, 2021 08:43
Show Gist options
  • Select an option

  • Save ParthNipunDave/7e84c7d26b0d73478b263d16c777adfa to your computer and use it in GitHub Desktop.

Select an option

Save ParthNipunDave/7e84c7d26b0d73478b263d16c777adfa to your computer and use it in GitHub Desktop.
# Unqiue Value
data['OnlineSecurity'].unique()
# Value Count and Visualization
print("Online Security\n",data['OnlineSecurity'].value_counts())
sns.countplot(data=data,x='OnlineSecurity')
# Online Security wise Churn Rate
sns.countplot(data=data,x='OnlineSecurity',hue='Churn')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment