you can use func iget like this :
df['column'].iget(-1);
or
df.iloc[-1:]
I have a very big data frame with the orders for some products with a reference. This reference has periodical updates, so for the same product there are a lot of rows in the dataframe. I want to choose the last update for each reference, but i dont know why.
For a reference, for example there are 10 updates, for another, 34, so there is not a patron...
Any ideas?
how to select the last value in a irregular data frame