Simple solution to remove rows using dropna()
IntuitionApproachdropna() function is used to remove rows where 'name' columns contain missing valuesuse the dropna() function
then specify the 'name' columns a
# Intuition\n<!-- Describe your first thoughts on how to solve this problem. -->\n\n# Approach\n<!-- Describe your approach to solving the problem. -->\ndropna() function is used to remove rows where \'name\' columns contain missing values \n\nuse the dropna() function\nthen specify the \'name\' columns as a subset for checking missing values\n# Complexity\n- Time complexity:\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n- Space complexity:\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```pythondata []\nimport pandas as pd\n\ndef dropMissingData(students: pd.DataFrame) -> pd.DataFrame:\n    return students.dropna(subset = [\'name\'])\n\n```
['Pandas']