Python easy solutions
Code\n\nimport pandas as pd\n\ndef invalid_tweets(tweets: pd.DataFrame) -> pd.DataFrame:\n    return tweets[tweets[\'content\'].str.len() > 15][[\'tweet_id\']]\
# Code\n```\nimport pandas as pd\n\ndef invalid_tweets(tweets: pd.DataFrame) -> pd.DataFrame:\n    return tweets[tweets[\'content\'].str.len() > 15][[\'tweet_id\']]\n```
['Pandas']