feature engineering for categorical lumns code example
Example: dive split of numeric values dataframes for categorical vlaues
df1=credit5[credit5['card']=='yes'] #gets the subset of the df where all 'card' entries are yes
df2=credit5[credit5['card']=='no'] #gets the subset of the df where all 'card' entries are no