All Courses

HOW TO REMOVE OBJECT COLUMNS IN DATAFRAME.

By Adharsha_t_n, 3 months ago
  • Bookmark
0



Out[33]:

Unnamed: 0        int64
Id                int64
MSSubClass        int64
MSZoning         object
LotArea           int64
                  ...  
MiscVal           int64
MoSold            int64
YrSold            int64
SaleType         object
SaleCondition    objecT
Length: 62, dtype: object


Python
Ml
1 Answer
0

using the numpy you can select only those column whose datatype is numeric

can get the sample code for that...?

– adharsha_t_n Sep 7, 2022 at 12:45 AM

Your Answer

Webinars

Why You Should Learn Data Science in 2022?

Dec 15th (7:00 PM) 277 Registered
More webinars

Related Discussions

Running random forest algorithm with one variable

View More