how to get index of a particular row in pandas code example Example: retrieve row by index pandas rowData = dfObj.loc[ 'b' , : ]