Answered step by step
Verified Expert Solution
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started