Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 17389

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

$
0
0

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 17389

Latest Images

Trending Articles



Latest Images