pandas select row by index str code example Example: retrieve row by index pandas rowData = dfObj.loc[ 'b' , : ]