create new column with length of old column value python code example Example: create new column with length of old column value python df['length'] = df['column'].str.len()