Which of the following data structures does NumPy primarily work with?
Correct answer
C. Arrays
13 views
C. Arrays
13 views
NumPy works primarily with arrays — specifically the ndarray, an N-dimensional array whose elements all share one data type and sit in a contiguous block of memory.
That design is what makes it far faster than Python lists, sets or dictionaries for numerical work.
Practise more Data Science MCQs with answers and explanations on MCQsExam.com.
Not sure why the answer is C? Ask here and get an explanation.