Skip to content

Instantly share code, notes, and snippets.

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

  • Save ParthNipunDave/8be47363a8a7b925dab57b5df8171b4d to your computer and use it in GitHub Desktop.

Select an option

Save ParthNipunDave/8be47363a8a7b925dab57b5df8171b4d to your computer and use it in GitHub Desktop.
# Unique Value
data['PaymentMethod'].unique()
# Value Count
print("Payment Method \n",data["PaymentMethod"].value_counts())
plt.figure(figsize=(15,7))
sns.countplot(data=data,x='PaymentMethod')
#Payment Wise
plt.figure(figsize=(15,7))
sns.countplot(data=data,x='PaymentMethod',hue="Churn")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment