✅ Pandas Beginner Friendly Solution 🔥💯
\uD83D\uDD3C IF YOU FIND THIS POST HELPFUL PLEASE UPVOTE \uD83D\uDC4D\n\nimport pandas as pd\n\ndef find_classes(courses: pd.DataFrame) -> pd.DataFrame:\n    \n
**\uD83D\uDD3C IF YOU FIND THIS POST HELPFUL PLEASE UPVOTE \uD83D\uDC4D**\n```\nimport pandas as pd\n\ndef find_classes(courses: pd.DataFrame) -> pd.DataFrame:\n    \n    grouped = courses.groupby([\'class\'])[\'student\'].count().reset_index()\n    \n    result = grouped[grouped[\'student\'] >= 5]\n    \n    return result[[\'class\']]\n```\n**Thank you for reading! \uD83D\uDE04 Comment if you have any questions or feedback.**
['Python', 'Python3']