text_html_output_1.png
import pandas as pd

df = pd.read_csv('/kaggle/input/credit-card-customers/BankChurners.csv', dtype={'Income_Category': 'str'}).iloc[:, :-2]
y = df['Attrition_Flag']
df.drop(['Attrition_Flag'], axis=1, inplace=True)

df.head()