Answered step by step
Verified Expert Solution
Question
1 Approved Answer
table [ [ Student ID , First Name,Last Name,Major,State ] , [ 2 0 1 9 1 4 5 6 , NAN,Mahaguna,Finance,CA ] ,
tableStudent IDFirst Name,Last Name,Major,StateNAN,Mahaguna,Finance,CANANJusting,Chau,Management,AZChenyi,Yuan,Accounting,CAAndrew,Brown,Accounting,GGPhillip,NAN,Economics,NY
Suppose this data set is in a Data Frame named MyStudents. How to fix the missing data for Student ID in the second row?
MyStudentsStudent IDfillnaMyStudentsStudent IDmean inplace True
MyStudents.dropna
MyStudents.loc"Student ID MyStudentsStudent IDmean
MyStudents.dropindex
MyStudents.loc"Student ID MyStudentsStudent IDmedian
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