Write code to manipulate dataframes (using libraries like Pandas or NumPy) to perform a specific transformation or aggregation.