A

Admin • 831.35K Points
Coach

Q. How do you reshape a NumPy array?

  • (A) np.change_shape()
  • (B) reshape()
  • (C) np.reform()
  • (D) np.modify()
  • Correct Answer - Option(B)
  • Views: 15
  • Filed under category Numpy
  • Hashtags:

Explanation by: Admin
The reshape() method is used to change the shape of an array.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.