SciPy

prob140.Table.probability

Table.probability(values)

Assigns probabilities to domain values.

Parameters:
values : List or Array

Values that must correspond to the domain in the same order.

Returns:
Table

A probability distribution with those probabilities