Here is my code but I am getting this error on running it. I saw other answers for the same questions but couldn't figure out what needs to be changed.
tweet_len = pd.Series([len(tweet.split()) for tweet in df['clean_text']])
tweet_len.plot(kind='box')