Computing Summary Statistics (mean, median, standard deviation) using SciPy
by aryaman@openweaver.com Updated: Mar 27, 2023
Solution Kit
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.
Code
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.
Dependent Libraries
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.
Environment Tested
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.
Support
- For any support on kandi solution kits, please use the chat
- For further learning resources, visit the Open Weaver Community learning page.