🔥 Pandas Easy and Concise Solution For Beginners 💯
\uD83D\uDD3C IF YOU FIND THIS POST HELPFUL PLEASE UPVOTE \uD83D\uDC4D\n\nimport pandas as pd\n\ndef actors_and_directors(actor_director: pd.DataFrame) -> pd.Dat
**\uD83D\uDD3C IF YOU FIND THIS POST HELPFUL PLEASE UPVOTE \uD83D\uDC4D**\n```\nimport pandas as pd\n\ndef actors_and_directors(actor_director: pd.DataFrame) -> pd.DataFrame:\n    \n    result = actor_director.groupby([\'actor_id\', \'director_id\']).count().reset_index()\n    \n    return result[result[\'timestamp\']>=3][[\'actor_id\', \'director_id\']]\n```\n**Thank you for reading! \uD83D\uDE04 Comment if you have any questions or feedback.**
['Python', 'Python3']