Great video! Always great to see a tutorial that uses current events to make it "real". Keep up the great work.
@NicholasRenotte4 жыл бұрын
@Graham Walker! Yes, definitely! Trying to keep it relevant and a little bit fun as well.
@hectortobias88403 жыл бұрын
instablaster
@vipinsainilol3 жыл бұрын
I appreciate you for making this video!...a great help to learn sentiment analysis
@NicholasRenotte3 жыл бұрын
Thanks so much @Vipin! Glad you liked it!
@pantsuslayer86314 жыл бұрын
Thanks, i learned a lot;. Thought im just starting and couldn´t understand every single thing i got the basic idea. please keep making this type of videos!
@NicholasRenotte4 жыл бұрын
👏 awesome, thank you soo much @Pantsu Slayer! If there’s anything you want me to dive deeper into, let me know! Plenty more videos coming 👨💻!
@gabrielfreay3 жыл бұрын
You are the Best, I supposed to be sleeping 😴 but I prefer being watching your videos. Seriously 😳 it's amazing how easy you make things looks like.
@NicholasRenotte3 жыл бұрын
Ayyyee! So pumped you're enjoying it.
@nishadseeraj70344 жыл бұрын
Great tutorial! i love your teaching style and how you explain everything as well as the great flow of your video! Looking forward to more python tutorials. I'm new to python having most of my prior experience in R
@NicholasRenotte4 жыл бұрын
Awesome stuff @Nishad! Welcome to the fam!
@Tourismmj2 жыл бұрын
Thank you so much for sharing the great tutorial, Nick!!!!
@musicpatron16933 жыл бұрын
YOUUUUU ARREEE TOOOO FASTTTTT FOR MEEE!!! GOOD JOB!
@NicholasRenotte3 жыл бұрын
Thanks sooo much! Glad you enjoyed it. Check out the code in the description as well!
@kwabsbotwe61244 жыл бұрын
To identify the subject from 15:20 onwards how do you differentiate a subject that has both Biden and Trump?
@NicholasRenotte4 жыл бұрын
Heya @kwabs, you can do that from step four, instead of identifying a single candidate. You can filter on tweets that mention both like so: Old code: df[df['Biden']==1][['Biden','polarity','subjectivity']].groupby('Biden').agg([np.mean, np.max, np.min, np.median]) New code: df[(df['Biden']==1) and (df['Trump']==1)][['Biden','polarity','subjectivity']].groupby('Biden').agg([np.mean, np.max, np.min, np.median])
@kwabsbotwe61244 жыл бұрын
@@NicholasRenotte thanks 🙏
@kwabsbotwe61244 жыл бұрын
In situations where you want to know the general political sentiments of the country over a period of time what are the factors to consider in your analysis?
@NicholasRenotte4 жыл бұрын
@@kwabsbotwe6124 anytime amigo!!
@NicholasRenotte4 жыл бұрын
@@kwabsbotwe6124 great question, although I wouldn't set out with too many pre-conceived notions as to what the factors might be. This is where exploratory data analysis, clustering and topic modelling come in handy to allow you to determine these factors.
@anukarthika4ever3 жыл бұрын
Love your content! Condensed and to the point👍👍
@NicholasRenotte3 жыл бұрын
Thanks so much @Anu! Glad you enjoyed it!
@sakethgupta28853 жыл бұрын
underrated channel
@ghosthanded2 жыл бұрын
I keep getting the error TypeError: expected string or bytes-like object when I apply the cleaning functions
@yeancahogundipe2682 жыл бұрын
Please How do we balance the dataset ?Great tutorial btw!
@iTzDharma2 жыл бұрын
Update 04.01.2023 Change this: tweets = [{"Tweets":tweet.text, "Timestamp":tweet.created_at} for tweet in query] with tweets = [{"Tweets":tweepy.Tweet.text, "Timestamp":tweepy.Tweet.created_at} for tweet in query]
@mihaelbos2 жыл бұрын
Which sentiment library/tool/model do you recommend for analyzing customer reviews? It tried using vader, bert, roberta, textblob...so far bert was the most accurate.
@kartikyadav74212 жыл бұрын
Twitter error response: status code = 403; whenever i try to run the tweets command in the beginning
@christophercrager19252 жыл бұрын
You make it look so easy. Thank you for sharing!
@MeetMoyele3 жыл бұрын
Thank you for the guidance. How much tweets can I retrieve from Twitter?
@princevladimierdelosreyes20253 жыл бұрын
this is a great help. thanks! i subscribed
@NicholasRenotte3 жыл бұрын
Thanks so much!
@explorenations8923 жыл бұрын
what if we want to create a flag for multiple references ??
@abdullahbutt18003 жыл бұрын
Great video Nicholas! I'm struggling to put a condition where I want to get tweets from a specific time period. can you please guide me through it. Thanks!
@NicholasRenotte3 жыл бұрын
Definitely you can apply a filter like so df[df['Timestamp']=='your period']
@dwikiahmamaulana21763 жыл бұрын
excuse me sir, what kind of method is used for this tutorial ?
@NicholasRenotte3 жыл бұрын
Heya @Dwiki, it's using the native sentiment method from TextBlob I don't believe they go into much detail as to how it works though: textblob.readthedocs.io/en/dev/api_reference.html#textblob.blob.TextBlob.sentiment
@meeramaurya76703 жыл бұрын
Great Video, clear explanation..thanks a lot
@NicholasRenotte3 жыл бұрын
Thanks so much @Meera!
@nwh99263 жыл бұрын
Hi , I have problem on applying verification from twitter, this have been a second time because first application have been rejected. Any tips to avoid from been rejected? My project is for my final year project T.T which is for academic purpose T.T it's really important
@closed2523 жыл бұрын
Great Video!!!! Thank you so much for that!
@NicholasRenotte3 жыл бұрын
Thanks so much @Diego, glad you enjoyed it!
@nitinluthra17512 жыл бұрын
Dear Nicholas, thank you for this very helpful and condensed video. I am completely new to coding so please answer this novice question. How does one get to the Jupyter Debate Analyser page (before you begin all your analysis)? Until now I have been following Visual Code Studio so this is new for me.
@ralphumo71522 жыл бұрын
Its just a regular Jupyter page. He named it as "Debate Analyser". Hence you have the Jupyter logo beside the page name.
@wilsonwilson1372 жыл бұрын
Hey, great videos!
@ashleysami16404 жыл бұрын
Only you could make the debate about Pizza 😂. Where's that #Dominos sponsorship at? #nickforpizzapresident
@NicholasRenotte4 жыл бұрын
🤷🏾♂️ I’m with you @Ashley Sami! #Dominos hit me up! 🤣
@hemalshah14102 жыл бұрын
Hi Nic , while trying to perform -- tweets = [{'Tweet':tweet.text, 'Timestamp':tweet.created_at} for tweet in query] -- the line gives Twitter error response: status code = 403 . What could be reason ? I am having essential access on my twitter Dev account. any Help appreciated.
@sricharangovindolla70442 жыл бұрын
mine too! same problem
@hemalshah14102 жыл бұрын
@@sricharangovindolla7044 I figured this is due to lack of permissions on your Twitter dev account. You need to get elevated access.
@sricharangovindolla70442 жыл бұрын
@@hemalshah1410 Ho ok thanks for sharing the information.
@Megtheanalyst_2 жыл бұрын
@@hemalshah1410 I Was Approved Of Elevated Access But I Got An Error On That Code 🥹
@voiceofheart98733 жыл бұрын
Could you please tell me how to calculate positive , negative and neutral tweets ?
@NicholasRenotte3 жыл бұрын
All covered in the video 😊!
@voiceofheart98733 жыл бұрын
@@NicholasRenotte how can i visualize positive, negative and neutral for each individual with bar chart graph?
@NicholasRenotte3 жыл бұрын
@@voiceofheart9873 try taking a look at the matplotlib package, there is example with a line graph shown towards the end of the video.
@voiceofheart98733 жыл бұрын
@@NicholasRenotte Thanks for your valuable information sir. Could you please give your Email for contact with you?
@voiceofheart98733 жыл бұрын
@@NicholasRenotte Please make tutorial about Twitter new feature Covid-19 stream for sentiment analysis.
@ademhilmibozkurt70852 жыл бұрын
thank you so much
@nikhilshetty12123 жыл бұрын
Hey bro Nicholas, I have downloaded a year's data on breast cancer awareness, and now I want to perform a sentiment analysis on it. Will this method be able to process those tweets?
@NicholasRenotte3 жыл бұрын
Sure will! Just get it into a dataframe and it should be relatively the same process!
@nikhilshetty12123 жыл бұрын
@@NicholasRenottebrother I'm stuck in the preprocessing step please help err says : 'float' object has no attribute 'replace'
@NicholasRenotte3 жыл бұрын
@@nikhilshetty1212 sounds like it's trying to update a number instead of a string. Are you processing on a number based column or a string?
@nikhilshetty12123 жыл бұрын
@@NicholasRenotte string. Actually It would be so great if I could share the issue pic with you
@NicholasRenotte3 жыл бұрын
@@nikhilshetty1212 jump on the Discord server and shoot it through to me!
@bronsonranga57704 жыл бұрын
Vote pineapples hahah crack up
@NicholasRenotte4 жыл бұрын
🤣 #PepperoniLife for days @Bronson Ranga!!
@musicpatron16933 жыл бұрын
hahah you act like getting a developer account is easy...i'm a student and i am not makign an app..it took like a volleying of discussions for a couple days to get a twitter account.. you have to specifically indicate literally what you're doing.
@NicholasRenotte3 жыл бұрын
FR? I honestly managed to breeze through it, although my explanation was a little different to what I actually ended up using it for 😬
@musicpatron16933 жыл бұрын
@@NicholasRenotte i'm just saying, cuz some people might need to know they need to be very literal about what they're using it for..they didn't initially accept my "I'm using it for a school project to do sentiment analysis on Donald Trump's tweets" ...they wanted more info than that. it was frustrating.
@NicholasRenotte3 жыл бұрын
@@musicpatron1693 ah got it, did you end up getting it in the end though?