A pandas DataFrame is best described as:
-
A
a two-dimensional labelled data structure
Correct answer
-
B
a one-dimensional array of labelled values
-
C
a Python dictionary of lists
-
D
a single column of tabular data
Correct answer
A. a two-dimensional labelled data structure
13 views
Explanation
A DataFrame has rows and columns with labels on both axes, making it a two-dimensional table.
Reference
Asked in: NTS, PPSC IT, Interviews
Doubts & discussion
Not sure why the answer is A? Ask here and get an explanation.
Ask a doubt about this MCQ