Task: Shift Column in Pandas DataFrame Up by One
Task: Shift Column in Pandas DataFrame Up by One: a task in Terminal-Lego-15k (Harbor dataset). You need to write a Python script that shifts a specific column ('gdp') in a pandas DataFrame up by one position , and then removes the last row so that all columns remain of equal length.
Part of PrimeIntellect/Terminal-Lego-15k.