HF RL Explorer

Task: Pandas GroupBy with Sorting Within Groups

Task: Pandas GroupBy with Sorting Within Groups: a task in Terminal-Lego-15k (Harbor dataset). You need to write a Python script that performs group-by operations on a DataFrame, sorts the aggregated results within each group, and returns the top N rows from each group.

Part of PrimeIntellect/Terminal-Lego-15k.