how to get length of string in pandas dataframe column 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)