I have a data frame with a column that has list of strings with a pattern. Patters is name of the item:count of item. One example cell is apple:2, banana:1. I want to write a python script that will remove the count of item, coming after : and concat items into a string. Add stress words which are capitalized. Limit those stress words for less than 5 times.
user