Skip to main content

A simple library for basic statistical calculations

Project description

Simple Stats

A simple Python library for basic statistical calculations.

Features

  • Calculate mean
  • Calculate median
  • Calculate mode
  • Calculate standard deviation

Installation

You can install the library using pip:

pip install common-stats-test

Example Code

from common_stats import mean, median, mode, standard_deviation

data = [1, 3, 3, 3, 5]

print("Mean:", mean(data))
print("Actual Mean: 3.")
print("Median:", median(data))
print("Actual Median: 3.")
print("Mode:", mode(data))
print("Actual Mode: 3.")
print("Standard Deviation:", standard_deviation(data))

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

common_stats_test-0.0.2.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

common_stats_test-0.0.2-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file common_stats_test-0.0.2.tar.gz.

File metadata

  • Download URL: common_stats_test-0.0.2.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for common_stats_test-0.0.2.tar.gz
Algorithm Hash digest
SHA256 e0d6e6a0269fe8c800e2d02a4a8b24f4ccad540bbbbca6171b5666d93e3541c6
MD5 e1abd605206b2682a31395e190d4644a
BLAKE2b-256 2c8c723b480c017615655e94738276d69ffa01e80fa44df2811dd4aa6fff47ee

See more details on using hashes here.

File details

Details for the file common_stats_test-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for common_stats_test-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c0a6fa283af8d866ae7e6a6c2a80082e949146dead5a910951958f74bac47e92
MD5 17ef5f375d57e4ff9935f6c8acf991c8
BLAKE2b-256 386d747954aa7b5a16cb55459f3c8ca740deb01ea4e7184eaed15e10723bcc84

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page