Pergunta de entrevista da empresa Liberty Lending

Python question, largely about pandas, numpy, and writing functions.