SciPy

This is documentation for an old release of SciPy (version 0.17.1). Read this page in the documentation of the latest stable release (version 1.15.1).

scipy.stats.rv_discrete.__call__

rv_discrete.__call__(*args, **kwds)[source]

Freeze the distribution for the given arguments.

Parameters:

arg1, arg2, arg3,... : array_like

The shape parameter(s) for the distribution. Should include all the non-optional arguments, may include loc and scale.

Returns:

rv_frozen : rv_frozen instance

The frozen distribution.