Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

number of total words in cell pandas

df["WANTED_COLUMN"].apply(lambda x: len(str(x).split(' ')))
 
PREVIOUS NEXT
Tagged: #number #total #words #cell #pandas
ADD COMMENT
Topic
Name
4+2 =