Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

#remove outliers from SalePrice attribute where prices are over 500000 criteria = d_train(d_train['SalePrice'] > 500000).index d_train.drop(criteria, inplace=True) --------------------------------------------------------------------------- TypeError Traceback (most recent call last) in

#remove outliers from SalePrice attribute where prices are over 500000 criteria = d_train(d_train['SalePrice'] > 500000).index d_train.drop(criteria, inplace=True)

--------------------------------------------------------------------------- TypeError Traceback (most recent call last) in 2 df_hp_train.shape 3 #Drop outliers from SalePrice where prices are over 500000 ----> 4 criteria = d_train(d_train['SalePrice'] > 500000).index 5 d_train.drop(criteria, inplace=True) 6 TypeError: 'DataFrame' object is not callable 

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions