I have a pandas column that contains strings. I want to get a word count of all of the words in the entire column. What\'s the best way of doing that without looping through eac
Numbers of words could be gotten by str count blanks+1, then sum()
(df.a.str.count(' ')+1).sum()