We can convert each catogorical value to a one-hot encoder

I did not understand.

from sklearn.preprocessing import OneHotEncoder

encoder=OneHotEncoder()
USA_Housing_cat_1hot=encoder.fit_transform(USA_Housing_cat_.reshape(-1,1))

NameError Traceback (most recent call last)
in
7
8 encoder=OneHotEncoder()
----> 9 USA_Housing_cat_1hot=encoder.fit_transform(USA_Housing_cat_1hot.reshape(-1,1))

NameError: name ‘USA_Housing_cat_1hot’ is not defined

How can i fix it?

Please reply.

Please give me your phone number.

I do not know why this is whappening quite unusal.

Please do not think wrong.

Please do not think that i am not intrested to take your call.

Please do not think like that.

I am really looking forward to talk with you.

Please do not think like that.

PLEASEEEEE!

I do not know why my phone number is showing unreacheble.

I really do not know.

Please do not think like that.

Hi Nirav, please schedule a meeting with me using the link that I had sent you. I have replied to your email, please check. Looking forward to talking to you soon.

please give me the link.