Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python - columns that contain the lengh of a string

df['name_length']  = df['name'].str.len()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #columns #lengh #string
ADD COMMENT
Topic
Name
2+5 =