Course Solutions Uncategorized (Solved) : Complete Following Function Getmostretweetedtweets Data N Return Details N Retweeted Tweet Q28358485 . . . .

(Solved) : Complete Following Function Getmostretweetedtweets Data N Return Details N Retweeted Tweet Q28358485 . . . .

 

Complete the following function get_most_retweeted_tweets (data, n. Return details of n most retweeted tweets in the dataset (you might find this example useful). You also need to return the number of times a particular tweet is retweeted as part of the dataframe. You do not need to sort the dataframe in any particular order. Note This question might require you to play a bit more with your dataframe, specially things like reset index of a dataframe and would require working on more than one dataframe. def get_most_retweeted_tweets (data, n): # YOUR CODE HERE raise NotImplementedError() return (df) assert(get_most_retweeted_tweets(df_tweets,10).shape(10 assert (get_most_retweeted_tweets (df_tweets,10) .counts.maz

Complete

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post