Eda, Exploratory Data Analysis, Pandas, Python.
However, I think it best to discuss with domain experts and come up with relevant categories and bin it manually first. df_l1 = df.copy() df_l1.rename(columns=lambda x: x.lower().replace(' ', '_'), inplace=True) new_col_dict = {'pc': 'c_pc', 'incm_typ': 'c_incm_typ', 'gn_occ': 'c_occ', 'num_prd':