Package to find the mean, median, and mode.
Project description
mememo
A lighweight package to find the mean, median, and mode. (That's what the 3m's mean)
✨ 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 = mean([1, 2])
print(a) # Output: 1.5
Same way applies to the median() and mode() functions.
a = median([1, 2])
print(a) # Output: 1.5
a = 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,
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.1b0.tar.gz
(2.1 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.1b0.tar.gz.
File metadata
- Download URL: mememo-1.0.1b0.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1f1b3cc715f7d7141bfd8b230ccaaf78d3c6435fa7c9de9d21485080ba821fb8
|
|
| MD5 |
1b9b14691c3bf44459e32a6cff3c4046
|
|
| BLAKE2b-256 |
a2e4c7490e4fe42ecda71463782ec25c719ca421f3fd77539f7bb500e1390870
|
File details
Details for the file mememo-1.0.1b0-py3-none-any.whl.
File metadata
- Download URL: mememo-1.0.1b0-py3-none-any.whl
- Upload date:
- Size: 2.3 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 |
205a1a79dae07451d935db90c60602aa97339adaab338d27d5d80a78438fa471
|
|
| MD5 |
f545eb71811b95ea19a0f256d1ebcdb0
|
|
| BLAKE2b-256 |
22e367ac4c65e4ccbe09a16aa3c4daa1e200b6c999ebed6a45d06a995c817a79
|