pandas series length of string code example
Example: make length string in pandas
df['name_length'] = df.Name.str.len()
// or
df['name_length'] = df.Name.apply(len)
df['name_length'] = df.Name.str.len()
// or
df['name_length'] = df.Name.apply(len)