[SciPy-User] rv_discrete

nicky van foreest vanforeest at gmail.com
Wed Aug 22 05:40:00 EDT 2012


Hi,

How can I find out whether a frozen rv is a subclass of rv_discrete or
rv_continuous. This doesn't work:

X = stats.norm(10, np.sqrt(10))
print issubclass(X.__class__, stats.rv_continuous)

thanks

Nicky



More information about the SciPy-User mailing list