extract specific row from pandas python code example Example: pandas return specific row df.iloc[1] # replace index integer with specific row number