Language Features

PyStatistics

Python stdlib module — statistics. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

Other Methods

.bisect_left()Neutral
#
Signature
bisect_left(a, x, lo, hi, key)

Return the index where to insert item x in list a, assuming a is sorted.

.bisect_right()Neutral
#
Signature
bisect_right(a, x, lo, hi, key)

Return the index where to insert item x in list a, assuming a is sorted.

.correlation()Neutral
#
Signature
correlation(x, y)

Pearson's correlation coefficient

.covariance()Neutral
#
Signature
covariance(x, y)

Covariance

.erf()Neutral
#
Signature
erf(x)

Error function at x.

.exp()Neutral
#
Signature
exp(x)

Return e raised to the power of x.

.fabs()Neutral
#
Signature
fabs(x)

Return the absolute value of the float x.

.fmean()Neutral
#
Signature
fmean(data, weights)

Convert data to floats and compute the arithmetic mean.

.fsum()Neutral
#
Signature
fsum(seq)

Return an accurate floating point sum of values in the iterable seq.

.geometric_mean()Neutral
#
Signature
geometric_mean(data)

Convert data to floats and compute the geometric mean.

Fully-Qualified Names

FQNField
statisticsfqns[0]

Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.

Import

rule.py
import statistics