Lightweight package to find the mean, median, and mode.
Project description
mememo
The lightweight package to find the mean, median, and mode. (Hence the name MEanMEdianMOde)
Benefits
- Most efficient and more lightweight than the
numpyorstatisticsmodule. - No need other 3rd-party modules to install.
- Only 3 functions.
Changelog: https://github.com/dUhEnC-39/mememo/blob/main/CHANGELOG.txt
Github repo: https://github.com/dUhEnC-39/mememo
Documentation guide
mean()
You can use the mean() function to find the mean of 2+ numbers.
import mememo
a = mememo.mean([1, 2])
print(a) # Output: 1.5
Same way applies to the median() and mode() functions.
a = mememo.median([1, 2])
print(a) # Output: 1.5
a = mememo.mode([1, 2, 2])
print(a) # Output: 2
Cruical note: The function must only take in one argument which is the list of numbers.
For example,
mememo.mean(10, 15, 87)
will raise this error
TypeError: mean() takes 1 positional argument but 3 were given
Any questions? Email here
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mememo-1.1.tar.gz
(2.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
mememo-1.1-py3-none-any.whl
(2.6 kB
view details)
File details
Details for the file mememo-1.1.tar.gz.
File metadata
- Download URL: mememo-1.1.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b47c04ddbe916c94065e512b4df1b9d4b854b2fad7ef95ff0a3795ea52b7a4aa
|
|
| MD5 |
f72e2ef2c497a5722d18d23ac85826f2
|
|
| BLAKE2b-256 |
4c8065d767d146d9da18c891cd9f30823bd2a85020bea87f5ac0dae8a535b732
|
File details
Details for the file mememo-1.1-py3-none-any.whl.
File metadata
- Download URL: mememo-1.1-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2fa83e619fd54949795448647c258ea38a5591c1461ce5015c47912c0f1133ef
|
|
| MD5 |
1d2c4086dc42542f39f2abd1bd631659
|
|
| BLAKE2b-256 |
280d44487ca9d18a493166d40015c797cd00012d1760df8ab697a8617b9185d1
|