A

Admin • 802.91K Points
Coach

Q. What will be the output of np.array([1,2,3], dtype='float32').dtype?

  • (A) int32
  • (B) float32
  • (C) float64
  • (D) int64
  • Correct Answer - Option(B)
  • Views: 2
  • Filed under category Numpy
  • Hashtags:

Explanation by: Admin
The dtype is explicitly set to float32.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.