pandas dataframe keep one row pandas code example Example: pandas dataframe show one row df.iloc[0,:]