df=pd.get_dummies(df,columns=['sex','smoker','region'], drop_first=True) enter image description here
I just wanted to expect not seeing three seperated columns but it is impossible.What is your suggestion?I attached image
df=pd.get_dummies(df,columns=['sex','smoker','region'], drop_first=True) enter image description here
I just wanted to expect not seeing three seperated columns but it is impossible.What is your suggestion?I attached image
Copyright © 2021 Jogjafile Inc.