word cloud does not show the frequency of the words correctly word cloud does not show the frequency of the words correctly pandas pandas

word cloud does not show the frequency of the words correctly


Well, I figured it out by searching alooot. I ended up using generate_from_frequencies(text) rather than using only generate.But still in case that the frequency is the same, it does not give the same size to all of them.

If you look at the documents they also mentioned about the ranking or order(this is the thing that I really can not understand, they better make it as an option. for example, if the algorithm sees the same frequency what should be the approach 1. based on order 2. doing nothing and giving the same size).

Base on my research and output, when it sees the same frequency and also based on the space it has, it may change the size which is not good.

My sayings are only based on my experiment and reading the documents.