how to print a line in dataframe python code example Example: pandas dataframe show one row df.iloc[0,:]