Skip to content

2883. Drop Missing Data 👍

1
2
3
4
5
6
import pandas as pd


def dropMissingData(students: pd.DataFrame) -> pd.DataFrame:
  students.dropna(subset=['name'], inplace=True)
  return students