I am a complete newbie at Python, and I'm struggling despite having Googled for quite a while. I know it should not be this difficult. I have a Dataframe called abc that looks like this:
PO_DATE PO_ITEM_NUMBER PO_PRICE PO_QTY
----------------------------------------------------------------
0 01/15/2017 ABC123 1.55 1000
1 01/25/2017 DEF456 5.55 500
I know the max PO_PRICE = 5.55, which I can find using:
max_PO_Price = abc["PO_PRICE"].max()
All I want to be able to do is identify which row has the max PO_PRICE, locate the PO_QTY field for that row, and decrement it by 100. I keep wanting to envision this dataframe is a 2-D array, but, it's not liking that, and, I know it's not an array, as there are different data types involved. I've been screwing this up now for too long, so, finally decided to post. I hope someone can forgive my lack of knowledge and point me in the right direction.
Thanks.