Your data that you provided has been saved to a csv file. Added one more line for clarity: U1077 Prawns Biryani.
With the help of Pandas I read them, this is how they look:
  user_id                  dish
0   U1077        Prawns Biryani
1   U1077       Chilli Potatoes
2   U1077  Paneer Multani Tikka
3   U1077        Prawns Biryani
4   U1068         Kadaai Paneer
5   U1068           Veg biryani
6   U1068  Mushroom Malai Tikka
7   U1067       Chilli Mushroom
8   U1077         Lacha Paratha
Next, I used explicit loc indexing, where row indices are in square brackets on the left (in this case, this is a Boolean mask, which is obtained from the expression df['user_id'] == 'U1077'), on the right is the name of the column. I also applied unique() at the end to get only unique values if the dish was ordered several times. Result list:
['Prawns Biryani' 'Chilli Potatoes' 'Paneer Multani Tikka' 'Lacha Paratha']
if you remove unique() you will get all rows with the selected 'user_id':
0          Prawns Biryani
1         Chilli Potatoes
2    Paneer Multani Tikka
3          Prawns Biryani
8           Lacha Paratha
code:
import pandas as pd
df = pd.read_csv('dishes.csv', header=0)
print(df)
aaa = df.loc[df['user_id'] == 'U1077', 'dish'].unique()
print(aaa)