A

Admin • 833.24K Points
Coach

Q. Which attribute gives the total number of elements in the array?

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

Explanation by: Admin

The .size attribute gives the total count of elements.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.