Does Twitter Believe in Dogecoin? - Sentiment Analysis in Python

Поделиться
HTML-код
  • Опубликовано: 6 апр 2021
  • Today we learn how to perform a sentiment analysis on Dogecoin or other cryptocurrencies in Python using Twitter.
    DISCLAIMER: This is not investing advice. I am not a professional who is qualified in giving any financial advice. This is a video purely about sentiment analysis in Python from a programming perspective.
    ◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
    📚 Programming Books & Merch 📚
    💻 The Algorithm Bible Book: www.neuralnine.com/books/
    🐍 The Python Bible Book: www.neuralnine.com/books/
    👕 Programming Merch: www.neuralnine.com/shop
    💻 Exclusive Content 💻
    👥 Patreon: / neuralnine
    🌐 Social Media & Contact 🌐
    📱 Website: www.neuralnine.com/
    📷 Instagram: / neuralnine
    🐦 Twitter: / neuralnine
    🤵 LinkedIn: / neuralnine
    📁 GitHub: github.com/NeuralNine
    🎵 Outro Music From: www.bensound.com/
  • НаукаНаука

Комментарии • 59

  • @maverick3069
    @maverick3069 3 года назад +4

    I love how i learn something new almost everyday while i have coffee. Great content man!

  • @simon3431
    @simon3431 3 года назад

    dude you're a SUPERHERO! i love your videos

  • @jessicas2978
    @jessicas2978 3 года назад

    Amazing video! I wonder if Python could extract the social network information from these

  • @fadhilsaheer8877
    @fadhilsaheer8877 3 года назад

    Glad I'm A
    NeuralNine Viewer 😊
    Hey could you make a series on golang

  • @OscarRodriguez-jr6si
    @OscarRodriguez-jr6si 2 года назад

    Awesome video man! Would you mind explaining how you would go about cleaning all the emojis from the text as well?

  • @edtix
    @edtix 3 года назад +5

    Your key file was empty because you've opened it in write mode. By default opening with "w" cause to overwrite everything.

  • @sherdoc
    @sherdoc 3 года назад +1

    Can you use Jupyter notebook or lab ? It would be great if we could see output of codes step by step.

  • @user-5ry3th
    @user-5ry3th 3 года назад

    you can create a py file, put variables there like MY_KEY = '...' and import the file in your main script
    then all required values will be available easily, don't need to write special codes for reading, parsing and so on

  • @mrmoh2
    @mrmoh2 3 года назад

    This vídeo is pure gold 🏆

  • @ioannissioutas5641
    @ioannissioutas5641 2 года назад +1

    one question . is it possible to store those extracted cleaned tweets into an sql server so you have a visual aspect of what you are extracting?

  • @judedavis92
    @judedavis92 3 года назад

    I love your videos!!

  • @soumyadrip
    @soumyadrip 3 года назад +1

    I like the intro

  • @suhaibakrams1122
    @suhaibakrams1122 3 года назад

    what is the algorithm or method used in this?

  • @CalvatsGarage
    @CalvatsGarage 3 года назад

    How can clear for cashtags like $dogecoin? Doesn’t seem to work just by adding $ instead of #, @ or http in the code. Any suggestions?

  • @g.s.3389
    @g.s.3389 3 года назад

    important side note: textblob can make an analysis only for English language, if you want to use it in another language you must translate. A quick way is using textblob itself:
    import textblob
    frase='Io ti amo'
    print(textblob.TextBlob(frase).detect_language())
    b=textblob.TextBlob(frase).translate(to='en')
    print(b)
    print(textblob.TextBlob(str(b)).sentiment.polarity)

    • @mrmoh2
      @mrmoh2 3 года назад

      In the video he showed a way to choose a language, is that not enough?

    • @g.s.3389
      @g.s.3389 3 года назад +1

      @@mrmoh2 you lost a couple of steps:
      1) tweepy is used to scan tweeter, there you can select the language (the one you speak about)
      2) the sentiment analysis (polarity) is carried on by TextBlob, which is trained only for the English language, so that if you want to analyse another language you have to translate it first to English. TextBlob helps for the process.

    • @mrmoh2
      @mrmoh2 3 года назад

      @@g.s.3389 thanks for the feedback, is true that language is for tweepy and not for textblob.
      Thanks!

  • @Rezzzaaa
    @Rezzzaaa 3 года назад

    The tutorial was phenomenal. Thanks man.

  • @IzUrBoiKK
    @IzUrBoiKK 3 года назад +1

    Pls make a vid on neat python

  • @tasdeekchowdhury2565
    @tasdeekchowdhury2565 3 года назад

    Bro, please make a python automation course!

  • @lucario4399
    @lucario4399 3 года назад +4

    Waiting for neuralnine to make video on installing nvim 😶😶

    • @NeuralNine
      @NeuralNine  3 года назад +2

      Is it that difficult that a tutorial is needed? 👀

    • @AliKoca-ds1vv
      @AliKoca-ds1vv 3 года назад

      @@NeuralNine I asked for api token from Twitter but they didn't give it. How could you get it?

    • @oncetherewasausernamesolon9234
      @oncetherewasausernamesolon9234 3 года назад

      @Lucario If you want a similar setup to NeuralNine and you're using windows 10 then search up "how to install wsl2" and install a linux distro like ubuntu from the windows store. From there, you can install nvim easily using "sudo apt-get install neovim" in the terminal.

    • @127.
      @127. 3 года назад

      @@AliKoca-ds1vv create a new account. They don't give second apply option.

    • @AliKoca-ds1vv
      @AliKoca-ds1vv 3 года назад

      @@127. OOH. THANK YOU!

  • @wiz4240
    @wiz4240 2 года назад

    I have this error : ModuleNotFoundError: No module named 'cycler'. I had try to install cycler and put it in matplotlib module but it doesn't work. Any solutions ?

  • @aleksandarpetrovic2632
    @aleksandarpetrovic2632 2 года назад

    I am confused, why you in rows 42 and 43 use ['Tweets'] after dataframe method .count()

  • @dylancarter8404
    @dylancarter8404 2 года назад +1

    Not sure I'll get a response but when I run the code the terminal says 'API' object has no attribute 'search'. Any idea what I'm missing here? Thanks

    • @masterinvestor6271
      @masterinvestor6271 Год назад

      I have the same problem. Did you manage to fix it?

    • @dylancarter8404
      @dylancarter8404 Год назад

      @@masterinvestor6271 I did this project over a year ago, I don't remember sorry :(

  • @shwetabhshekhar1282
    @shwetabhshekhar1282 3 года назад

    FIRE

  • @profsor5008
    @profsor5008 3 года назад

    VSCode instead of Linux text editor?

    • @NeuralNine
      @NeuralNine  3 года назад

      I am not using VS Code and what is a Linux Text editor=

  • @SP-ui6zn
    @SP-ui6zn 3 года назад

    You are truly sent by God. Please charge us money for watching such valuable content.

    • @NeuralNine
      @NeuralNine  3 года назад +2

      😂 you can support me on Patreon if you want hahaha

  • @IzUrBoiKK
    @IzUrBoiKK 3 года назад +2

    Third! Bro you on a rage these days, pls pin

  • @aymancassim8944
    @aymancassim8944 3 года назад

    Day 1: Asking neuralnine to make a flask python tutoria

    • @NeuralNine
      @NeuralNine  3 года назад

      I have to learn it first 😂

    • @zombiekiller7101
      @zombiekiller7101 3 года назад

      @@NeuralNine lmao😂

    • @aymancassim8944
      @aymancassim8944 3 года назад

      @@NeuralNine lmao😅 mb. But great vid tho 👍

    • @codedecode1498
      @codedecode1498 3 года назад

      @@NeuralNine It's pretty easy, actually. It's pretty similar to bottle and is easier than django.

  • @altsum1509
    @altsum1509 3 года назад

    Dogecoin

  • @d1fficultgamer609
    @d1fficultgamer609 3 года назад

    Imagine getting pinned by NeuralNine

  • @zombiekiller7101
    @zombiekiller7101 3 года назад

    17th comment

  • @andrewa7952
    @andrewa7952 3 года назад

    Change your intro music

  • @user-5ry3th
    @user-5ry3th 3 года назад

    One more thing
    rows iteration isn't good way
    you should use pd.DataFrame.apply (or even applymap) function
    it works much faster than iteration and code-logic is easier

  • @iceyvision3124
    @iceyvision3124 3 года назад

    5th Comment XD

    • @NeuralNine
      @NeuralNine  3 года назад +1

      ^^

    • @iceyvision3124
      @iceyvision3124 3 года назад

      @@NeuralNine can you please make a telegram or signal bot tutorial with Python? I will really appreciate if you do, because I don't understand any one else's explanation. I'm sure you will explain clearly 🙏