SHARE
TWEET

Untitled

estgestg Jun 12th, 2019 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. val df15 = tweets
  2.   .groupBy("handle")
  3.   .sum("retweet_count", "favorite_count")
  4.   .withColumn("favoritos_retweets", $"sum(retweet_count)" + $"sum(favorite_count)")
  5.   .sort(desc("favoritos_retweets"))
  6.  
  7.  
  8. display(df15)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top