printing two specific rows in dataframe in python code example Example: pandas dataframe show one row df.iloc[0,:]