All Downloads are FREE. Search and download functionalities are using the official Maven repository.

g2801_2900.s2883_drop_missing_data.solution.py Maven / Gradle / Ivy

The newest version!
# #Easy #2023_12_23_Time_429_ms_(94.97%)_Space_61.2_MB_(12.30%)

import pandas as pd

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy