I have this list of lists named Restaurant_Type
:
Restaurant_Type = [['Dessert Parlor', 'Quick Bites'],
['Casual Dining', 'Bar'],
['Casual Dining', 'Bar'],
['Fine Dining'],
['Casual Dining', 'Bar']]
of 180 rows. I want to loop through each list and enter every value in a new list. For example,
new_list = ['Dessert Parlor', 'Quick Bites', 'Casual Dining', 'Bar','Casual Dining',
'Bar',.....]
So that I can calculate the frequency of each restaurant type.
I tried using for loop but I'm getting list of words like this,
"'",
'D',
'e',
's',
's',
'e',
'r',
't',
' ',
'P',
'a',
'r',
'l',
'o',
'r',
...