LTM Limited interview question

Questions about python and pandas