0 votes
in Python Pandas by
Which of the following takes a dict of dicts or a dict of array-like sequences and returns a DataFrame?

Choose the correct option from below list

a) DataFrame.from_items

b) DataFrame.from_records

c) DataFrame.from_dict

d) All of the above

1 Answer

0 votes
by

Correct Answer of the above question is :   A

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

Related questions

0 votes
asked Nov 21, 2022 in Azure Databricks by Robin
0 votes
asked Aug 13, 2021 in Python Pandas by SakshiSharma
...