bp interview question

How to manipulate a dataframe from pandas library?