Encoding multiple columns in pandas
I have some doubts regarding encoding (I am not familiar with tasks like these) categorical variables in order to use them as parameters in a model like logistic regression or SVM. My dataset looks like the following: Text Symbol Note Account Age Label There is a red car ! red John 24 1 My bag was very expensive ? orange Luke 36 0 Where are my keys? @ red Red 58 1 I promise: I will never let you go! ... green Aoife 28 0 In 'Text', there are stored comments from users in a community. 'Symbol' includes the most used symbol by a user. 'Note' represents its level (green is more experienced; red is
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.