find row with specific element in pandas dataframe code example Example: pandas return specific row df.iloc[1] # replace index integer with specific row number