Tech Mahindra interview question

create a pandas dataframe from a dictionary