Fincare interview question

how to create data Frame