I want to get the value from the column "classification" of the second row.
I have : id = 'D1-0021'; LeftRight = 'R'
So with this information i want the result to the corresponding column of classification.
Can some explain with pandas how to make something like :
table.loc['D1-0021', where 'LeftRight' == R] get value['classification']
corresponding output : 'Benign'
LeftRight Age number abnormality classification subtype
id
D1-0021 L 22 2 calcification Benign NaN
D1-0021 R 22 2 calcification Benign NaN