Home / Report Question

Q. Which NumPy function returns the number of dimensions in an array?
  • A. ndim
  • B. shape
  • C. size
  • D. dim