dataframe get index of one row code example Example: retrieve row by index pandas rowData = dfObj.loc[ 'b' , : ]