Package to find the mean, median, and mode.
Project description
mememo
A lighweight package to find the mean, median, and mode.
Benefits
- Most efficient and more lightweight than the
numpyorstatisticsmodule. - No need other 3rd-party modules to install.
- Only 3 functions.
Installation
To import, run
import mememo
mean()
You can use the mean() function to find the mean of 2+ numbers.
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])
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 2 were given
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.0.2b0.tar.gz
(2.0 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
File details
Details for the file mememo-1.0.2b0.tar.gz.
File metadata
- Download URL: mememo-1.0.2b0.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
454154dad6a883c518044a25265d3a9f651ff5735139f3afd66e88fb25eb9308
|
|
| MD5 |
d8235e172f29af8e895af3c6a24c4920
|
|
| BLAKE2b-256 |
3d6fc8edfe73a2fe51febbe86782172893be33e2f3462338f3d26ce370f24b60
|
File details
Details for the file mememo-1.0.2b0-py3-none-any.whl.
File metadata
- Download URL: mememo-1.0.2b0-py3-none-any.whl
- Upload date:
- Size: 2.2 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 |
dfcd47b454a589733f574f073f3cbae7b86ab30088c47e0fabd1ef504aec73f4
|
|
| MD5 |
ebdcaadac085ee859b80fa6055564194
|
|
| BLAKE2b-256 |
7eb0e5cdbd679098ee28af9fc151dec7f6a5089e06b9ada660498dcf67a11477
|