hello guys. Hi guys. As you can see in the picture, when I tried to use the target column, I encountered a key error. I tried different ways but it did not work. When I type:
y= train['Level']
or y= train[['Level']]
or
print (Train['Level'])
or
enc = OrdinalEncoder() enc.fit(Train['Level'])
and any other things about Level column this Error occured. how I can fix it? please help me "| enter image description here