← TechnologyThe essentials of

Statistics: mean and median answer different questions

Publisher: ResumeMaker • 1 source

Published: 22 Oct 2026 16:11 · Updated: 22 Oct 2026 16:11

AI source check: 22 Oct 2026 14:04. This is not editorial approval.

In a few sentences

In brief

statistics.mean([1, 2, 100]) gives the arithmetic mean, while statistics.median([1, 2, 100]) gives 2. A large observation affects the two measures differently.

Useful to know

statistics.mean([1, 2, 100]) gives the arithmetic mean, while statistics.median([1, 2, 100]) gives 2. A large observation affects the two measures differently. [1]

Before summarizing durations or prices, establish the question. Do not describe the median as a total divided by a count. Check input types too: an unsuitable or mixed dataset does not become reliable merely by calling a function.

Sources

For further detail and to check the information:

  1. [1] statistics — Mathematical statistics functions — Python 3.12.15 documentation ↗