A

Admin • 833.24K Points
Coach

Q. What does np.linspace(0, 1, 5) return?

  • (A) Array of 5 values from 0 to 1 with equal spacing
  • (B) Array of integers from 0 to 1
  • (C) Array of 5 zeros
  • (D) Array from 0 to 5
  • Correct Answer - Option(A)
  • Views: 13
  • Filed under category Numpy
  • Hashtags:

Explanation by: Admin

np.linspace() returns evenly spaced values over a specified interval.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.