for the first one I think you should specify train.drop(columns = ["Apllicant_ID", "default_status"]), I don't think you can drop more than 1 column using axis=1 , but that's not the source of your DataFrame can't be called error sha
Did you get any error when you ran the first line..?
For this error to pop up.. What are u trying to do? Most times, this error pops up if u are quering an object not in a dataframe
Check spelling, case. This is a probable
most likely what's causing this error is if you're doing something like train().iloc[3]
you can't call a dataframe object,
I'm writing the Model building
X= train.drop(["Apllicant_ID", "default_status"], axis= 1)
Y= train["default_status"]
X_text= test. drop(["Apllicant_ID"],axis =1 )
for the first one I think you should specify train.drop(columns = ["Apllicant_ID", "default_status"]), I don't think you can drop more than 1 column using axis=1 , but that's not the source of your DataFrame can't be called error sha
Did you get any error when you ran the first line..?