Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

data_df.info() How to convert obj into int? data_df.info() < class ' pandas . core . frame . DataFrame '> RangeIndex: 11217 entries, 0 to 11216


data_df.info()

How to convert obj into int?

data_df.info() 

<class 'pandas.core.frame.DataFrame'> RangeIndex: 11217 entries, 0 to 11216 Data columns (total 16 columns): # Column Non-Null Count Dtype  --- ------ -------------- ----- 0 Unnamed: 0 11217 non-null int64 1 dvcat 11217 non-null object 2 weight 11217 non-null float64 3 Survived 11217 non-null object 4 airbag 11217 non-null object 5 seatbelt 11217 non-null object 6 frontal 11217 non-null int64 7 sex 11217 non-null object 8 ageOFocc 11217 non-null int64 9 yearacc 11217 non-null int64 10 yearVeh 11217 non-null float64 11 abcat 11217 non-null object 12 occRole 11217 non-null object 13 deploy 11217 non-null int64 14 injSeverity 11217 non-null float64 15 caseid 11217 non-null object dtypes: float64(3), int64(5), object(8) 

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

Income Tax Fundamentals 2013

Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill

31st Edition

1111972516, 978-1285586618, 1285586611, 978-1285613109, 978-1111972516

More Books

Students also viewed these Mathematics questions

Question

What is the name of the program?

Answered: 1 week ago