this entry collects the solution files i have for drop missing data. i may expand it with a fuller write-up later, but the implementation files are already here.
available solution files
- Python
drop-missing-data/drop-missing-data.py
notes and solution files for drop missing data.
this entry collects the solution files i have for drop missing data. i may expand it with a fuller write-up later, but the implementation files are already here.
drop-missing-data/drop-missing-data.pyimport pandas as pd
def dropMissingData(students: pd.DataFrame) -> pd.DataFrame:
students.dropna(axis = class="syntax-number">0, how = class="syntax-string">"any", subset = class="syntax-string">"name", inplace = True)
return students