Pandas: Pandas Rolling Condition to find smallest values and return the matched result
I have the Data frame with two set of values A & B in column 'ID'.
Need to find the smallest value from previous rows in the same columns 'MT' & 'Values'.
If 'MT' & 'Value's column current row value is smaller than its previous values the 'Matched Values' column & 'Date Values' column has to be updated with the conditions that matched.
<a href="
https://i.stack.imgur.com/uSwEJ.png▾
" rel="nofollow...