Statistics Attributes

statistics.NormalDist.mode

Read the location of peak density of a nondegenerate normal distribution, equal to its mean.

Formal Syntax & Structure

python syntaxpython
distribution.mode

Return Value

float

Floating-point distribution metadata.

Working Example

Example Snippetpython
import statisticsprint(statistics.NormalDist(12, 3).mode)
Python Reference