On this page
statistics.median_low
Prev: statistics.median_high | Up: statistics | Next: statistics.mode
Rel: statistics.correlation, statistics.covariance, statistics.fmean, statistics.geometric_mean
Ref: docs.python.org — statistics.median_low
Tags: #public #python3 #stdlib #statistics
Import
import statistics
from statistics import median_low
Signature & Overview
statistics.median_low(data)
Return the low median of numeric data.
Usage
import statistics
assert statistics.median_low(['a', 'b', 'c', 'd']) == 'b'
Gotchas
- Works on non-numeric sortable items by picking the smaller middle element.
REPL Inspect
from statistics import median_low
help(median_low)
Linked from
Related notes
- tuts/python3/stdlib_module/statistics/median_high Linked here; links to this page; shared tags: #statistics, #stdlib
- tuts/python3/stdlib_module/statistics/mode Linked here; links to this page; shared tags: #statistics, #stdlib
- tuts/python3/stdlib_module/statistics Linked here; links to this page; shared tags: #stdlib
- tuts/python3/stdlib_module/statistics/correlation Linked here; shared tags: #statistics, #stdlib
- tuts/python3/stdlib_module/statistics/covariance Linked here; shared tags: #statistics, #stdlib
- tuts/python3/stdlib_module/statistics/fmean Linked here; shared tags: #statistics, #stdlib
- tuts/python3/stdlib_module/statistics/geometric_mean Linked here; shared tags: #statistics, #stdlib
- tuts/python3/stdlib_module/statistics/harmonic_mean shared tags: #statistics, #stdlib
- tuts/python3/stdlib_module/statistics/kde shared tags: #statistics, #stdlib
- tuts/python3/stdlib_module/statistics/kde_random shared tags: #statistics, #stdlib