Discussion :: Data Science Basics and Toolbox MCQs
- Which of the following takes a dict of dicts or a dict of array-like sequences and returns a DataFrame?
Answer : Option A
Explanation :
DataFrame.from_dict operates like the DataFrame constructor except for the orient parameter which is 'columns' by default.
Be The First To Comment