pandas take only rows with specific vlaue code example Example: pandas return specific row df.iloc[1] # replace index integer with specific row number