How would I find how many times each string appears in my list?
Say I have the word:
\"General Store\"
that is in my list like 20 t
If you're willing to use the pandas library, this one is really quick:
import pandas as pd my_list = lis=["General Store","General Store","General Store","Mall","Mall","Mall","Mall","Mall","Mall","Ice Cream Van"] pd.Series(my_list).value_counts()