Question: 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
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
