The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
matching datasets according to best ranked item
Hi, I have two data sets that I need to match according to some specific value.
The first one (table 1) contains the IDs of a set of products, and the performance of these product according to the age of a user, something like:
The first one (table 1) contains the IDs of a set of products, and the performance of these product according to the age of a user, something like:
Then, the other one (table 2) has the age of a set of users, like:
item_id, user_age, item_performance
01, 45, 2
02, 23, 4
03, 23, 3
04, 45, 5
etc
What I need to do is to find the item that has the best performance for each age group, and then match them as a single dataset. Samething like:
user_id, age
001, 45
002, 23
003, 29
(etc)
I was trying to use aggregate to find the best score per age, but I am getting the best scores for a single age group... any ideas on how to find the best scores per age group, and then how to aggregate them to table 2? Thanks !!
user_id, item_id
001, 04
002, 02
003, 06
(etc)
0
Answers
~Martin
Dortmund, Germany
Andrew