Ikigai Labs interview question

Can you write a Python program to manipulate the dataset in a certain way?