[SciPy-user] Error in scipy.stats.poisson

Stefan van der Walt stefan@sun.ac...
Wed Aug 29 11:27:05 CDT 2007

Hi John

On Wed, Aug 29, 2007 at 04:13:14PM +0100, John Reid wrote:
> Should the following code work?
> import scipy.stats as S
> r=S.poisson(4)
> r.pdf(2)

The poisson distribution is discrete, so maybe you are looking for the
probability mass function, r.pmf?


More information about the SciPy-user mailing list