I was just experimenting with how to read excel sheets using pandas. I know how to sort out rows and columns using serial numbers. The general way to read the excel spreadsheet is:
file = ('path') 
new = pds.read_excel(file) 
new
Also using the usecols parameter I can print specific columns.
But, in the program I was testing out, I needed a string based input. For example, if in the Excel spreadsheet I have a row named 'Food', then when I input the string Food, I should get the corresponding row. But apparently pandas only works using serial numbers.
I wanted to know whether there is a way in which I can browse through and print specific excel rows using only string based inputs?
 
    