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

df_train = pd.read_csv('/kaggle/input/santander-customer-satisfaction/train.csv')

df_test = pd.read_csv('/kaggle/input/santander-customer-satisfaction/test.csv')

df_merge = pd.concat([df_test.assign(ind='test'), df_train.assign(ind='train')])

df_merge.shape

cat_cols = [cname for cname in df_merge.columns if df_merge[cname].dtype == 'object']

num_cols = [cname for cname in df_merge.columns if df_merge[cname].dtype != 'object']
print(num_cols)