scipy.stats.Binomial.

reset_cache#

Binomial.reset_cache()[source]#

Clear all cached values.

To improve the speed of some calculations, the distribution’s support and moments are cached.

This function is called automatically whenever the distribution parameters are updated.