I was wondering if someone could help me with this. I'm learning about Multiple Linear Regression and was trying to do some practice but seem to have hit a problem. I was trying to convert payment_type into a categorical variable using onehotencoder. Here I have the error and the first few rows and columns of the data. I tried looking online and doing things that other people suggested but I kept getting errors from those as well. Is there a way to fix this? I've been trying for hours now. Also I'm not sure why it says cannot convert VTS when its the payment_type that I'm trying to convert. Any thoughts and help on the matter is greatly appreciated.
The code prior to what you see on the screen is basically just loading the data, thats about it.
Thanks!