pandas get string length 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)