bundles / scipy 1.17.1 / scipy / stats / _morestats / _parse_dist_kw
function
scipy.stats._morestats:_parse_dist_kw
source: /scipy/stats/_morestats.py :469
Signature
def _parse_dist_kw ( dist , enforce_subclass = True ) Summary
Parse dist keyword.
Parameters
dist: str or stats.distributions instance.Several functions take
distas a keyword, hence this utility function.enforce_subclass: bool, optionalIf True (default),
distneeds to be a _distn_infrastructure.rv_generic instance. It can sometimes be useful to set this keyword to False, if a function wants to accept objects that just look somewhat like such an instance (for example, they have appfmethod).
Aliases
-
scipy.stats._morestats._parse_dist_kw