scipy.stats.rv_discrete.cdf

rv_discrete.cdf(k, *args, **kwds)

Cumulative distribution function of the given RV.

Parameters:
  • k (array_like, int) -- Quantiles.
  • arg2, arg3,... (arg1,) -- The shape parameter(s) for the distribution (see docstring of the instance object for more information).
  • loc (array_like, optional) -- Location parameter (default=0).
Returns:

cdf -- Cumulative distribution function evaluated at k.

Return type:

ndarray