wordcloud
This commit is contained in:
18
wordclouds.py
Normal file
18
wordclouds.py
Normal file
@@ -0,0 +1,18 @@
|
||||
"""Word cloud utilities for Voice Branding analysis.
|
||||
|
||||
The main wordcloud function is available as a method on JPMCSurvey:
|
||||
S.plot_traits_wordcloud(data, column='Top_3_Traits', title='...')
|
||||
|
||||
This module provides standalone imports for backwards compatibility.
|
||||
"""
|
||||
import numpy as np
|
||||
from os import path
|
||||
from PIL import Image, ImageDraw
|
||||
from wordcloud import WordCloud, STOPWORDS, ImageColorGenerator
|
||||
import matplotlib.pyplot as plt
|
||||
|
||||
import warnings
|
||||
warnings.filterwarnings("ignore")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user