Back
Using numpy, how can I do the following:
ln(x)
Is it equivalent to:
np.log(x)
I apologise for such a seemingly trivial question, but my understanding of the difference between log and ln is that ln is logspace e?
In Python with the numpy, you can use the following way to do natural logs np.log is ln, whereas np.log10 is your standard base 10 log.
If you are interested to learn Python from Industry experts, you can sign up for this Python Certification Course by Intellipaat.
1.2k questions
2.7k answers
501 comments
693 users