0

I would like to change string information to a new integer column.

I would like tried this type of solution below:

department_str department_int 
sales           1
RandD           2
tech            3

Thanks for the help!

I tried the pd.get_dummies which is getting some of the information I need.

mozway
  • 194,879
  • 13
  • 39
  • 75

0 Answers0