Quantcast
Viewing all articles
Browse latest Browse all 14155

Why is the dtype: object when all columns are float64 and int64

print(cleaned_train.dtypes)

print("--")

print(cleaned_test.dtypes)

YearOfObservation int64

Insured_Period float64

Residential int64

Building_Painted float64

Building_Fenced float64

Building_Type float64

Claim float64

Building Dimension float64

Geo_Code float64

dtype: object

--

YearOfObservation int64

Insured_Period float64

Residential int64

Building_Painted float64

Building_Fenced float64

Building_Type float64

Claim float64

Building Dimension float64

Geo_Code float64

dtype: object

Tried getting a dtype:numeric but got object


Viewing all articles
Browse latest Browse all 14155

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>