I have a DataFrame looking something like this -
Now , how do i extract all the elements in row A having a value greater than 2 ?
In the above case it would be the value 2.706850
I did something like this-
df.loc['A']>2
But i got a series containing Boolean Values something like this -
What should i do to get 2.706850 as the output ?