Task: Sort a Pandas DataFrame by Index
Task: Sort a Pandas DataFrame by Index: a task in Terminal-Lego-15k (Harbor dataset). You need to write a Python script that creates a Pandas DataFrame and sorts it by its index, keeping each combination of index and column value intact.
Part of PrimeIntellect/Terminal-Lego-15k.