July 2017
Beginner to intermediate
312 pages
7h 27m
English
In the following section, we will focus on the analysis of the content of posts and consumer comments. The content analysis will be done by using three entities: keywords, hashtags, and parts of speech (nouns and verbs). For each of the entities, we will compare the brand content (Google) and the fan content (users).
In the first stage, we will compare the most frequent keywords used by the brand with keywords used by consumers. In order to facilitate the interpretation, we will use a popular visualization method: wordcloud.
Firstly, we define a function that takes as argument a data frame that we want to analyze and a name of a column that will be visualized:
def viz_wordcloud(dataframe,column_name): #Count words ...
Read now
Unlock full access