An easy, beginner-friendly approach.😊😊😊
Codedef dropMissingData(students: pd.DataFrame) -> pd.DataFrame:
students = students.dropna(subset=['name'])
return students
# Code
def dropMissingData(students: pd.DataFrame) -> pd.DataFrame:
    students = students.dropna(subset=['name'])
    return students

['Pandas']