Create Fancy Word Clouds in Python

Sdílet
Vložit
  • čas přidán 2. 04. 2022
  • Today we learn how to create word clouds in Python.
    ◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
    📚 Programming Books & Merch 📚
    🐍 The Python Bible Book: www.neuralnine.com/books/
    💻 The Algorithm Bible Book: www.neuralnine.com/books/
    👕 Programming Merch: www.neuralnine.com/shop
    🌐 Social Media & Contact 🌐
    📱 Website: www.neuralnine.com/
    📷 Instagram: / neuralnine
    🐦 Twitter: / neuralnine
    🤵 LinkedIn: / neuralnine
    📁 GitHub: github.com/NeuralNine
    🎙 Discord: / discord
    🎵 Outro Music From: www.bensound.com/
  • Věda a technologie

Komentáře • 33

  • @samchimaobi3398
    @samchimaobi3398 Před rokem +1

    this is very simple and straight to the point. I enjoyed every bit of it. Its sufficient for me.

  • @2ednar739
    @2ednar739 Před rokem

    Love this one :) also the way you present is short an precise! Love it

  • @Hotkife
    @Hotkife Před 2 lety +1

    Great video! Found this very interesting

  • @John-xi2im
    @John-xi2im Před 2 měsíci

    superb idea!

  • @user-jp7nu5sd9u
    @user-jp7nu5sd9u Před 4 měsíci

    thanks! really helpful

  • @obed818
    @obed818 Před 2 lety

    Awesome !

  • @vsrocha1989
    @vsrocha1989 Před rokem

    awesome!!

  • @vsrocha1989
    @vsrocha1989 Před rokem +1

    Do you have any tip for reading the text file that is in Portuguese? many of the charachteres are lost such as "negócio" that becomes "negÃ"

  • @AryanRaj-ts6ud
    @AryanRaj-ts6ud Před 2 lety +1

    Nice sir👍

  • @arijanrahimic3210
    @arijanrahimic3210 Před 2 lety

    Cool THX 😁

  • @massimobuccolieri8532

    AWESOME

  • @sadecesahin9366
    @sadecesahin9366 Před 2 lety +2

    When installing the Wordcloud module, I get the error "subprocess exited with error". What should I do

  • @gbagba81
    @gbagba81 Před 2 lety +1

    Hey Matt damon how are you. What does the intro song says? Every single time I repeat "it's a landscape"
    Thanks so much for being so human
    I'm curious of what it'd be like if you teached briefly tensorflow
    Thanks for everything 😊 cheers

  • @Abanmy
    @Abanmy Před 2 lety +2

    0:45 i saw "garbage" up there

    • @rapjul
      @rapjul Před 2 lety +1

      Probably from phrases like “garage-collected language” or “garage collection”

  • @s.aravindh6227
    @s.aravindh6227 Před 2 lety +1

    Super vedio

  • @santoshkumargouda6033
    @santoshkumargouda6033 Před 2 lety +2

    please make a videos on MLops

  • @american_bully
    @american_bully Před rokem

    Getting truetype font error what to do?

  • @VashdyTV
    @VashdyTV Před rokem

    For those having trouble installing wordcloud (for me it failed building the wheel for the package), try using python 3.6 or lower. It appears that this package is not supported on higher version of python.

    • @parkjoyrene4941
      @parkjoyrene4941 Před 4 měsíci

      Ey can you please help me with creating a word cloud from excel, I'm a student with no prior knowledge in python or any programming languages, it would help me so much with my thesis

  • @maxparsons9431
    @maxparsons9431 Před 11 měsíci

    I keep getting a message name “WordCloud” is not defined. Any ideas?

  • @markosth09
    @markosth09 Před 2 lety +8

    STOP_WORDS+{"support"}
    { } are also used for creating sets
    also another way would be STOP_WORDS+set(["support"])

  • @lisanalghaib
    @lisanalghaib Před rokem

    if someone've duplicate words, just put: collocations = False,

    • @parkjoyrene4941
      @parkjoyrene4941 Před 4 měsíci +1

      Can you please help me make a word cloud from excel sheet, I have no prior knowledge about programming languages and it would help me enormously in my thesis

    • @lisanalghaib
      @lisanalghaib Před 4 měsíci

      @@parkjoyrene4941 try this:
      import pandas as pd
      from wordcloud import WordCloud
      import matplotlib.pyplot as plt
      # Carregar a planilha Excel
      planilha = pd.read_excel('caminho/para/sua/planilha.xlsx')
      # Concatenar todas as palavras em uma única string
      texto = ' '.join(planilha['coluna_com_as_palavras'].astype(str))
      # Criar a nuvem de palavras
      nuvem_palavras = WordCloud(width=800, height=400, background_color='white').generate(texto)
      # Exibir a nuvem de palavras
      plt.figure(figsize=(10, 8))
      plt.imshow(nuvem_palavras, interpolation='bilinear')
      plt.axis('off')
      plt.show()
      Translate the portuguese words to english for u learning

    • @lisanalghaib
      @lisanalghaib Před 4 měsíci

      Put in chat gpt console: "Python command to analyze words in an Excel spreadsheet to generate a word cloud."
      Adjust for your use and input your rules

    • @lisanalghaib
      @lisanalghaib Před 4 měsíci

      @@parkjoyrene4941 eu tentei colar o código, mas o youtube bloqueou

  • @hassansharif3186
    @hassansharif3186 Před 5 měsíci

    1 plt.figure(figsize=(15,6))
    ----> 2 plt.imshow(img)
    TypeError: 'WordCloud' object is not callable
    bro resolve this error

  • @Jeffery.M
    @Jeffery.M Před rokem

    This is really awesome. Thanks for sharing. I also used this to save the image to file and it worked great: plt.savefig("test.png")