bp Interview Question

How to manipulate a dataframe from pandas library?