A | B | C | D | E | F | G | |
---|---|---|---|---|---|---|---|
1 | Most Hated NBA Players | ||||||
2 | METHODOLOGY | We’ve used an API to scrape 10 Million tweets related to NBA Players. We’ve extracted only english tweets and we’ve cleaned the data with Python programming language. Data cleansing was the process of removing URLs, Hashtags, Mentions, Punctuation, Duplicates, Null Values, and special characters from tweets. Once the data was cleaned we’ve used NLP techniques, TextBlob Python Library to be more specific and we’ve analyzed the sentiments of data. TextBlob returns polarity of a sentence. Polarity lies between [-1,1], -1 defines a negative sentiment, and +1 defines a positive sentiment. Once we had all cleaned tweets labeled as positive and negatives, we grouped the data by date and player and calculated percentage of negative and positive tweets for each date and each player. The results are shown in the sheet below. | |||||
3 | player | positive | negative | neutral | neg% | pos% | total_tweets |
4 | marcus smart | 78,746 | 54,787 | 106,987 | 41.02880936 | 58.97119064 | 240,520 |
5 | draymond green | 57,274 | 35,501 | 72,721 | 38.26569658 | 61.73430342 | 165,496 |
6 | bam adebayo | 12,747 | 7,592 | 15,629 | 37.32730223 | 62.67269777 | 35,968 |
7 | trae young | 141,065 | 83,717 | 202,689 | 37.24364051 | 62.75635949 | 427,471 |
8 | jimmy butler | 95,149 | 55,165 | 131,395 | 36.69984166 | 63.30015834 | 281,709 |
9 | ben simmons | 177,016 | 102,340 | 204,595 | 36.6342588 | 63.3657412 | 483,951 |
10 | chris paul | 96,972 | 55,634 | 114,391 | 36.45597159 | 63.54402841 | 266,997 |
11 | jaylen brown | 87,501 | 47,840 | 136,335 | 35.34775124 | 64.65224876 | 271,676 |
12 | rudy gobert | 34,647 | 18,379 | 39,749 | 34.6603553 | 65.3396447 | 92,775 |
13 | jayson tatum | 81,910 | 43,398 | 113,906 | 34.63306413 | 65.36693587 | 239,214 |
14 | khris middleton | 14,078 | 7,444 | 18,211 | 34.58786358 | 65.41213642 | 39,733 |
15 | james harden | 137,091 | 72,290 | 169,356 | 34.52557777 | 65.47442223 | 378,737 |
16 | cade cunningham | 29,640 | 15,371 | 34,950 | 34.14943014 | 65.85056986 | 79,961 |
17 | anthony davis | 52,996 | 27,457 | 66,952 | 34.1280002 | 65.8719998 | 147,405 |
18 | devin booker | 53,417 | 27,284 | 73,857 | 33.80875082 | 66.19124918 | 154,558 |
19 | kyrie irving | 148,686 | 73,710 | 183,407 | 33.14358172 | 66.85641828 | 405,803 |
20 | andrew wiggins | 47,843 | 23,613 | 76,503 | 33.04551052 | 66.95448948 | 147,959 |
21 | karl-anthony towns | 13,268 | 6,475 | 19,630 | 32.79643418 | 67.20356582 | 39,373 |
22 | lamelo ball | 24,430 | 11,810 | 33,033 | 32.58830022 | 67.41169978 | 69,273 |
23 | scottie barnes | 32,849 | 15,861 | 44,122 | 32.56210224 | 67.43789776 | 92,832 |
24 | lebron james | 249,086 | 116,764 | 338,612 | 31.91581249 | 68.08418751 | 704,462 |
25 | jrue holiday | 22,626 | 10,603 | 32,214 | 31.90887478 | 68.09112522 | 65,443 |
26 | luka doncic | 73,095 | 34,159 | 80,233 | 31.84869562 | 68.15130438 | 187,487 |
27 | joel embiid | 107,313 | 49,993 | 109,803 | 31.78073309 | 68.21926691 | 267,109 |
28 | klay thompson | 107,404 | 49,234 | 135,991 | 31.43170878 | 68.56829122 | 292,629 |
29 | ja morant | 235,289 | 107,056 | 295,969 | 31.27137829 | 68.72862171 | 638,314 |
30 | jaren jackson jr | 15,958 | 7,247 | 22,613 | 31.23033829 | 68.76966171 | 45,818 |
31 | fred vanvleet | 19,069 | 8,533 | 23,588 | 30.91442649 | 69.08557351 | 51,190 |
32 | pascal siakam | 10,969 | 4,851 | 13,282 | 30.66371681 | 69.33628319 | 29,102 |
33 | anthony edwards | 37,844 | 16,431 | 55,604 | 30.27360663 | 69.72639337 | 109,879 |
34 | brandon ingram | 42,830 | 18,303 | 57,639 | 29.9396398 | 70.0603602 | 118,772 |
35 | shai gilgeous-alexander | 4,595 | 1,951 | 7,037 | 29.80446074 | 70.19553926 | 13,583 |
36 | paul george | 45,655 | 19,360 | 56,981 | 29.7777436 | 70.2222564 | 121,996 |
37 | evan mobley | 29,493 | 12,433 | 37,510 | 29.65462959 | 70.34537041 | 79,436 |
38 | demar derozan | 49,216 | 20,654 | 57,573 | 29.56061257 | 70.43938743 | 127,443 |
39 | kevin durant | 194,694 | 80,545 | 222,095 | 29.26365813 | 70.73634187 | 497,334 |
40 | damian lillard | 17,174 | 6,927 | 23,831 | 28.74154599 | 71.25845401 | 47,932 |
41 | zach lavine | 45,165 | 18,165 | 56,190 | 28.68308858 | 71.31691142 | 119,520 |
42 | jamal murray | 14,188 | 5,640 | 14,946 | 28.44462376 | 71.55537624 | 34,774 |
43 | dejounte murray | 43,266 | 17,184 | 55,303 | 28.42679901 | 71.57320099 | 115,753 |
44 | bradley beal | 21,796 | 8,615 | 26,603 | 28.32856532 | 71.67143468 | 57,014 |
45 | zion williamson | 23,155 | 9,140 | 34,419 | 28.30159467 | 71.69840533 | 66,714 |
46 | domantas sabonis | 4,332 | 1,687 | 4,998 | 28.02791161 | 71.97208839 | 11,017 |
47 | stephen curry | 150,719 | 57,025 | 228,185 | 27.44964957 | 72.55035043 | 435,929 |
48 | darius garland | 20,147 | 7,608 | 23,740 | 27.41127725 | 72.58872275 | 51,495 |
49 | nikola jokic | 32,356 | 12,084 | 25,935 | 27.19171917 | 72.80828083 | 70,375 |
50 | kawhi leonard | 17,129 | 6,262 | 19,545 | 26.77098029 | 73.22901971 | 42,936 |
51 | giannis antetokounmpo | 69,701 | 25,321 | 85,914 | 26.64751321 | 73.35248679 | 180,936 |
52 | cj mccollum | 32,235 | 11,485 | 31,769 | 26.2694419 | 73.7305581 | 75,489 |
53 | donovan mitchell | 31,859 | 10,239 | 32,436 | 24.32182051 | 75.67817949 | 74,534 |
54 | 3,185,683.00 | 1,541,167.00 | 4,068,976.00 | 326160 | 8,795,826.00 | ||
55 | 36 | 18 | 46 | 21.16318348 | |||
56 | 36% | 18% | 46% | ||||
57 | |||||||
58 | Player | Percentage of tweets which are negative | |||||
59 | Marcus Smart | 41.03 | |||||
60 | Draymond Green | 38.27 | |||||
61 | Bam Adebayo | 37.33 | |||||
62 | Trae Young | 37.24 | |||||
63 | Jimmy Butler | 36.70 | |||||
64 | Ben Simmons | 36.63 | |||||
65 | Chris Paul | 36.46 | |||||
66 | Jaylen Brown | 35.35 | |||||
67 | Rudy Gobert | 34.66 | |||||
68 | Jayson Tatum | 34.63 | |||||
69 | |||||||
70 | Player | Total number of Negative tweets | Percentage of tweets which are negative | ||||
71 | LeBron James | 116,764 | 31.92 | ||||
72 | Ja Morant | 107,056 | 31.27 | ||||
73 | Ben Simmons | 102,340 | 36.63 | ||||
74 | Trae Young | 83,717 | 37.24 | ||||
75 | Kevin Durant | 80,545 | 29.26 | ||||
76 | Kyrie Irving | 73,710 | 33.14 | ||||
77 | James Harden | 72,290 | 34.53 | ||||
78 | Stephen Curry | 57,025 | 27.45 | ||||
79 | Chris Paul | 55,634 | 36.46 | ||||
80 | Jimmy Butler | 55,165 | 36.70 | ||||
81 | |||||||
82 | Player | Total number of Negative tweets | Percentage of tweets which are negative | ||||
83 | Donovan Mitchell | 10,239 | 24.32 | ||||
84 | CJ McCollum | 11,485 | 26.27 | ||||
85 | Giannis Antetokounmpo | 25,321 | 26.65 | ||||
86 | Kawhi Leonard | 6,262 | 26.77 | ||||
87 | Nikola Jokic | 12,084 | 27.19 | ||||
88 | Darius Garland | 7,608 | 27.41 | ||||
89 | Stephen Curry | 57,025 | 27.45 | ||||
90 | Domantas Sabonis | 1,687 | 28.03 | ||||
91 | Zion Williamson | 9,140 | 28.30 | ||||
92 | Bradley Beal | 8,615 | 28.33 | ||||
93 | |||||||
94 | |||||||
95 | |||||||
96 | |||||||
97 | |||||||
98 | |||||||
99 | |||||||
100 |