This chapter introduces NumPy, a key library for numerical computing in Python, focusing on its array structure and operations.
Start with curated question sets, move into full module views when needed, and keep discovering related practice without losing your place in the chapter.
Which of the following is a primary feature of NumPy?
Which programming languages can NumPy interface with?
What is the term used for a collection of items in NumPy?
In NumPy, which axis corresponds to rows in a 2D array?
What is the purpose of NumPy's statistical functions?
What will be the output of np.arange(6).reshape(2, 3)?
In the context of NumPy, what does 'shape' describe?
How would you get the transpose of a 2D array in NumPy?
If A = np.array([1, 2, 3]), what is the output of A * 2?
What function is used to concatenate arrays in NumPy?