Quiz on NumPy dstack Function



1. What does the numpy.dstack function do?
2. Which of the following is true about the inputs to numpy.dstack?
3. What will be the shape of the output array if you stack two (2, 3) arrays using dstack?
4. Which library needs to be imported to use the dstack function?
5. What is the primary use case for numpy.dstack?

Advertisements