pandas where terxt length code example
Example 1: make length string in pandas
df['name_length'] = df.Name.str.len()
// or
df['name_length'] = df.Name.apply(len)
Example 2: python - columns that contain the lengh of a string
df['name_length'] = df['name'].str.len()