A

Admin • 833.24K Points
Coach

Q. Which NumPy function computes the element-wise natural logarithm of an array?

  • (A) np.log10()
  • (B) np.log2()
  • (C) np.log()
  • (D) np.ln()
  • Correct Answer - Option(C)
  • Views: 16
  • Filed under category Numpy
  • Hashtags:

Explanation by: Admin

np.log() computes the natural (base e) logarithm for each element in an array.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.