SciPy is a free and open-source Python library used for scientific computing and technical computing. It is a collection of mathematical algorithms and convenience functions built on the NumPy extension of Python. It adds significant power to the interactive Python session by providing the user with high-level commands and classes for manipulating and visualizing data.
In this solution, we use the lognorm function of the Scipy library
- Copy the code using the "Copy" button above, and paste it in a Python file in your IDE.
- Modify the values.
- Run the file, check the output in terminal.
I hope you found this useful. I have added the link to dependent libraries, version information in the following sections.
If you do not have Scipy required to run this code, you can install it by clicking on the above link and copying the pip Install command from the Scipy page in Kandi.
I tested this solution in the following versions. Be mindful of changes when working with other versions.
- The solution is created in Python3.11.
- The solution is tested on Scipy 1.10 version.