A

Admin • 833.24K Points
Coach

Q. Which method returns the shape of a NumPy array?

  • (A) shape()
  • (B) size()
  • (C) shape
  • (D) length()
  • Correct Answer - Option(C)
  • Views: 23
  • Filed under category Numpy
  • Hashtags:

Explanation by: Admin

The 'shape' attribute gives the dimensions of the array.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.