HF RL Explorer

Custom Sorting in Pandas DataFrame

Custom Sorting in Pandas DataFrame: a task in Terminal-Lego-15k (Harbor dataset). You need to implement a custom sorting solution for a pandas DataFrame that contains a column with month names. The sorting should be based on a custom dictionary that defines the order of months.

The task

You need to implement a custom sorting solution for a pandas DataFrame that contains a column with month names. The sorting should be based on a custom dictionary that defines the order of months.

Part of PrimeIntellect/Terminal-Lego-15k.