Crawling_ Create Wordcloud๐ŸŠ

ํ™”์ดํ‹ฐ ยท2023๋…„ 12์›” 18์ผ

Crawling

๋ชฉ๋ก ๋ณด๊ธฐ
2/7

Get export data from iframe - create wordcloud

Step 1: Import wordcloud:

!pip install wordcloud

from wordcloud import WordCloud
import matplotlib.pyplot as plt

Step2: Create wordcloud

wc = WordCloud(background_color='white',font_path='C:/Windows/Fonts/malgunbd.ttf').generate(data)

Step3: Show WC

plt.imshow(wc)
plt.axis('off')

profile
์—ด์‹ฌํžˆ ๊ณต๋ถ€ํ•ฉ์‹œ๋‹ค! The best is yet to come! ๐Ÿ’œ

0๊ฐœ์˜ ๋Œ“๊ธ€