I am trying to make a word cloud from my dataframe, below
Borough Minor Text 2019
Bexley Arson 4
Bexley Burglary - Business 11
Bexley Burglary - Residential 130
Bexley Drug Trafficking 5
I want to visualise the most frequent items in the Minor Text column in a wordcloud but the problem is, the frequency is in the '2019' column as an integer. The actual dataframe is quite large but follows the same format as above. Can anyone suggest how I can transform my 'Minor Text' column so that I can accurate create a word cloud?
Thanks