Create Fancy Word Clouds in Python

Поділитися
Вставка
  • Опубліковано 15 жов 2024
  • Today we learn how to create word clouds in Python.
    ◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
    📚 Programming Books & Merch 📚
    🐍 The Python Bible Book: www.neuralnine...
    💻 The Algorithm Bible Book: www.neuralnine...
    👕 Programming Merch: www.neuralnine...
    🌐 Social Media & Contact 🌐
    📱 Website: www.neuralnine...
    📷 Instagram: / neuralnine
    🐦 Twitter: / neuralnine
    🤵 LinkedIn: / neuralnine
    📁 GitHub: github.com/Neu...
    🎙 Discord: / discord
    🎵 Outro Music From: www.bensound.com/

КОМЕНТАРІ • 33

  • @samchimaobi3398
    @samchimaobi3398 Рік тому +1

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

  • @2ednar739
    @2ednar739 2 роки тому

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

  • @markosth09
    @markosth09 2 роки тому +8

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

  • @gbagba81
    @gbagba81 2 роки тому +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

  • @Hotkife
    @Hotkife 2 роки тому +1

    Great video! Found this very interesting

  • @vsrocha1989
    @vsrocha1989 2 роки тому +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Ã"

  • @sadecesahin9366
    @sadecesahin9366 2 роки тому +2

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

  • @John-xi2im
    @John-xi2im 5 місяців тому

    superb idea!

  • @HailyTran-t5w
    @HailyTran-t5w 7 місяців тому

    thanks! really helpful

  • @Abanmy
    @Abanmy 2 роки тому +2

    0:45 i saw "garbage" up there

    • @rapjul
      @rapjul 2 роки тому +1

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

  • @VashdyTV
    @VashdyTV Рік тому

    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 8 місяців тому

      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

  • @santoshkumargouda6033
    @santoshkumargouda6033 2 роки тому +2

    please make a videos on MLops

  • @AryanRaj-ts6ud
    @AryanRaj-ts6ud 2 роки тому +1

    Nice sir👍

  • @vsrocha1989
    @vsrocha1989 2 роки тому

    awesome!!

  • @obed818
    @obed818 2 роки тому

    Awesome !

  • @arijanrahimic3210
    @arijanrahimic3210 2 роки тому

    Cool THX 😁

  • @maxparsons9431
    @maxparsons9431 Рік тому

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

  • @massimobuccolieri8532
    @massimobuccolieri8532 2 роки тому

    AWESOME

  • @s.aravindh6227
    @s.aravindh6227 2 роки тому +1

    Super vedio

  • @lisanalghaib
    @lisanalghaib Рік тому

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

    • @parkjoyrene4941
      @parkjoyrene4941 8 місяців тому +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 8 місяців тому

      @@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 8 місяців тому

      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 8 місяців тому

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

  • @hassansharif3186
    @hassansharif3186 8 місяців тому

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

  • @Jeffery.M
    @Jeffery.M Рік тому

    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")

  • @american_bully
    @american_bully Рік тому

    Getting truetype font error what to do?