Question 1

Which function in numpy is used to vertically stack arrays?

Question 2

What is the result of vertically stacking two arrays with shapes (3, 4) and (2, 4)?

Question 3

Which function in numpy is used to concatenate arrays along an existing axis?

Question 4

What is the result of horizontally stacking two arrays with shapes (2, 3) and (2, 2)?

Question 5

What function in numpy is used to join multiple arrays into a single arrays?

Question 6

What is the shape of the resulting array after stacking three 1D arrays of shape (4, ) using the stack() function?

Question 7

When using the concatenate() function, what is the default value for the axis parameter?

Question 8

Which function in numpy is used to concatenate arrays along a new axis?

Question 9

To horizontally stack arrays, which value should the axis parameter of the concatenate() function be set to?

Question 10

Which parameter of the concatenate() function in numpy specifies the axis along which arrays will be joined?