State Street Interview Question

Question on python language like on pandas dataframe ?