text_plain_output_1.png
import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

import plotly.express as px

data = '../input/bank-customer-churn-dataset/Bank Customer Churn Prediction.csv'

df = pd.read_csv(data)

df.shape

df.describe

df.dtypes

features = df.keys()
features = features.drop('churn')
subsets = ['credit_score']
df.groupby('churn')[features].mean().style.background_gradient(cmap='ocean')

fig = px.histogram(df, x='age', y='balance', color='churn', marginal='box', hover_data=df.columns)
fig.show()