A python implementation of the "Geothmetic Meandian" as proposed in XKCD #2435
Project description
Geothmetic Meandian
Python package to provide the calculation of the "geothmetric median" as defined in XKCD # 2435. For when you aren't sure whether to use the mean, median, or geometric mean.
Instalation
pip3 install geothmetic_meandian
Example Usage
>>> from geothmetic_meandian import geothmetic_meandian
>>> geothmetic_meandian([1, 1, 2, 3, 5])
2.0889513309015815
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
Built Distribution
File details
Details for the file geothmetic_meandian-0.1.4.tar.gz
.
File metadata
- Download URL: geothmetic_meandian-0.1.4.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1fa391aef3c7e1c22a97f437adeef2c92dfb60dabedd5496f9abdbe60fed1dd3 |
|
MD5 | 4495a3c07f647a5f6adcca3b8183625d |
|
BLAKE2b-256 | 552ad7f799be1abbc9d654df50b77c0f55421d12c5e9c9d5ba24d78f73af5621 |
File details
Details for the file geothmetic_meandian-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: geothmetic_meandian-0.1.4-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51aa8fe1a3609c2a06b4a5b0241b66cdb9dae3ecc0efabbc01dedc3a09e63389 |
|
MD5 | d43972531292a85b7f8f78047c6f06b8 |
|
BLAKE2b-256 | d8eb2f9376d5e63f874f791252e5e35c09cae0fa0ebe4782cf45ca183535681a |