Sail E0 Webinar
Question
Which of the following takes a dict of dicts or a dict of array-like sequences and returns a DataFrame?
Options:
A .  DataFrame.from_items
B .  DataFrame.from_records
C .  DataFrame.from_dict
D .  All of the Mentioned
Answer: Option A


DataFrame.from_dict operates like the DataFrame constructor except for the orient parameter which is 'columns' by default.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers