I\'m trying to create a new column in a dataframe that contains the word count for the respective row. I\'m looking to the total number of words, not frequencies of each di
With list and map data from cold
list
map
list(map(lambda x : len(x.split()),df.col)) Out[343]: [4, 3, 2]