pandas dataframe get row by index value code example
Example 1: pandas get row from column value
df.loc[df['column_name'] == some_value]
Example 2: retrieve row by index pandas
rowData = dfObj.loc[ 'b' , : ]
df.loc[df['column_name'] == some_value]
rowData = dfObj.loc[ 'b' , : ]