2 points by Miceli_Baptiste Aug 30, 2023 | flag | 2 comments
Miceli_Baptiste Aug 30, 2023 | flag

In case of multiple T.a values, the returned T.b value is the first value encountered.
In fact, argmax is a process function scanning the table in its default order and will return different values in case of equality for two equivalent tables ordered in a different way.

This script https://try.lokad.com/5c15t7ajn1j38?tab=Code illustrates this equality management, the usage of the function and highlights the order importance with the Hat.

Miceli_Baptiste 10 months | flag

Sorry my link was private, please find here the shareable one: https://try.lokad.com/s/argmax_example