HF RL Explorer

Task: GroupBy DataFrame and Select Most Common Value

Task: GroupBy DataFrame and Select Most Common Value: a task in Terminal-Lego-15k (Harbor dataset). You have a pandas DataFrame with three string columns: Country , City , and Short name . For every combination of Country and City , there should be only one valid value in the Short name column…

The task

You have a pandas DataFrame with three string columns: `Country`, `City`, and `Short name`. For every combination of `Country` and `City`, there should be only one valid value in the `Short name` column. Your task is to clean the data by grouping the DataFrame by the first two columns (`Country` and `City`) and…

Part of PrimeIntellect/Terminal-Lego-15k.