1.

Which of the following input can be accepted by DataFrame?(a) Structured ndarray(b) Series(c) DataFrame(d) All of the mentionedThis question was addressed to me in an interview.I'm obligated to ask this question of Pandas Data Structure in section Data Analysis with Python of Data Science

Answer»

The CORRECT option is (d) All of the mentioned

To explain I WOULD say: DataFrame is a 2-dimensional labeled data STRUCTURE with COLUMNS of POTENTIALLY different types.



Discussion

No Comment Found

Related InterviewSolutions