get particular row as series from pandas dataframe,df[df['location'] == 'c'].iloc[0]