How to get scalar value on a cell using conditional indexing

后端 未结 2 789
灰色年华
灰色年华 2020-12-09 07:27

I have the dataframe shown below. I need to get the scalar value of column B, dependent on the value of A (which is a variable in my script). I\'m trying the loc() function

2条回答
提交回复
热议问题