A Python program to compute the mean, variance, standard deviation, maximum, minimum, and sum of a given list, both flattened and along specified axes using Numpy.
- numpy
- Calculate mean, variance, standard deviation, max, min, and sum of a list.
- Supports calculations along axis=0 and axis=1.
- Handles ValueError gracefully for lists with less than 9 numbers.
Before you begin, ensure you have met the following requirements:
- Python 3.10 or higher installed on your system. You can download Python from python.org.
- Poetry 1.6.1 installed on your system. You can install Poetry from python-poetry.org
Follow these steps to install and set up Poetry for this project:
- Install Poetry: Poetry is a Python package manager that simplifies dependency management and virtual environments. You can install Poetry by following their guide here.
- Clone the repository
git clone [email protected]:mrarvind90/fcc-mean-var-std-calculator.git
- Change into the Project Directory
cd fcc-mean-var-std-calculator
- Install Dependencies:
poetry install
- Run the Project:
poetry run python3 main.py
This project is licensed under the MIT License. See the LICENSE file for details.
We follow the black code style for this project. You can format your code using:
black .