pandas read row by index code example Example 1: pandas dataframe show one row df.iloc[0,:] Example 2: dataframe get row by name row_data = df.loc[ 'a' , : ]