Primary competition visual

DSN AI Bootcamp Qualification Hackathon by Data Science Nigeria

Helping Nigeria
Knowledge
Completed (over 5 years ago)
Prediction
1094 joined
749 active
Starti
Sep 09, 20
Closei
Oct 03, 20
Reveali
Oct 03, 20
User avatar
University of Lagos
Dataframe
Help · 26 Sep 2020, 19:51 · 5

It's saying dataframe object is not callable, please help me

Discussion 5 answers

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

26 Sep 2020, 20:53
Upvotes 0
User avatar
Federal university of technology akure

Check spelling, case. This is a probable

26 Sep 2020, 21:20
Upvotes 0
User avatar
University of lagos

most likely what's causing this error is if you're doing something like train().iloc[3]

you can't call a dataframe object,

26 Sep 2020, 21:26
Upvotes 0
User avatar
University of Lagos

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 )

26 Sep 2020, 21:39
Upvotes 0
User avatar
University of lagos

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..?