2883. Drop Missing Data

Updated: 2024-03-12
1 min read
[]

On This Page

LeetCode problem 2883

import pandas as pd


def dropMissingData(students: pd.DataFrame) -> pd.DataFrame:
    return students[students['name'].notnull()]