Closed MOONCHAND closed 5 years ago
And before "df['Self_Employed'].fillna('No',inplace =True)" There is no error at all.All are running similar as your code.
Please reply as soon as possible!
@MOONCHAND I am looking into it.
Sir,I think the KeyError is coming from "the reading training data set".Because I've seen your code there is no Disk drive mentioning to reading the training data set over there and I've mention Disk drive(F) to access the data set.Just have a look once.
I am experiencing the same issue. Please Parth help fix asap
@MOONCHAND even by specifying the disk drive, the error is the same. Did this work for you?
@ParthS007 when I ran ---- print(' Self_Employed ' in df.columns), the output was False. That means there is a possibility of whitespace in the respective column. Please reply if you fix the bug.
@MOONCHAND even by specifying the disk drive, the error is the same. Did this work for you?
No not at all.I am getting keyError too.But in the code of Parth007 there is no Diskdrive mentioned and without mentioning diskdrive how to read the data that's confusing to me.I am not really sure but that's why we are getting errors.
Please reply sir as soon as possible.
Hello Everyone, I have gone through the error and I will fix it as soon as I get some time. I have my exams right now, will correct the error after exams and I will update you all here when I have fixed the error. Thanks for looking into my project. :)
Did you resolve the issue. I have tried your code.Even I got the same error as MOONCHAND got. Can you please verify it.
solved in #3
Sir I'm having an error in your code that is keyError and I'm unable to find what types of error it is? Please help me sir! The code is here. please please help me sir!