Find min_value of one attribute after group_by and keep all the other attributes of that line
Hi Everyone,
I have a simple problem to solve but could not figure it out yet. I have an ExampleSet where I can use the Aggregation operator to find the minimun(Attribute_A) with group_by (Attribute_B). My problem is that I want to keep also the other attributes (say Attributes_C,D,E ...) for that particular line of data from which Attribute_A is minimum.
I hope that is clear enough!
Amaury
I have a simple problem to solve but could not figure it out yet. I have an ExampleSet where I can use the Aggregation operator to find the minimun(Attribute_A) with group_by (Attribute_B). My problem is that I want to keep also the other attributes (say Attributes_C,D,E ...) for that particular line of data from which Attribute_A is minimum.
I hope that is clear enough!
Amaury
Find more posts tagged with
Sort by:
1 - 1 of
11
Hi @amaury_demeloso ,
can't we just join on the two attributes? See attached example.
BR,
Martin