BEATS 98% OF THE USERS EASY AND FAST SOLUTION ☠️😼
Intuition\n Describe your first thoughts on how to solve this problem. \n\n# Approach\nSTEP 1 - IMPORT PANDAS\nSTEP 2 - DROP THE FUNCTION\nSTEP 3 - DROP ROWS WI
# Intuition\n<!-- Describe your first thoughts on how to solve this problem. -->\n\n# Approach\nSTEP 1 - IMPORT PANDAS\nSTEP 2 - DROP THE FUNCTION\nSTEP 3 - DROP ROWS WITH MISSING NAME VALUES\nDONE!!\n\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![cat.jpg](https://assets.leetcode.com/users/images/49cbf053-046e-424b-ad1d-47a55455864f_1718432790.3206458.jpeg)\n\n\n# Code\n```\nimport pandas as pd\n\ndef dropMissingData(students: pd.DataFrame) -> pd.DataFrame:\n    return students.dropna(subset="name")\n```
['Pandas']