# Zhenya

 2d comment Python linalg package not found?In fact, I'm only guessing (last line in the OP traceback). In fact, pip installing can be problematic even on *nix, since it does not always do the right thing (tm) with non-python dependencies. Eg BLAS/LAPACK (which is --- more guessing --- a problem here) 2d comment Python linalg package not found?sorry, no. pip installing scipy on a OS X is not a very good idea. Better follow the install instructions at scipy.org/install.html 2d comment Method of moments in scipy?Not in scipy stats, not out of the box anyway. You're probably better off with DIY. If you give more details on the math involved, it'll be easier to say something useful. 2d comment Python string to usable expression/functionhave a look at numexpr Mar 4 revised Matrix multiplication, solve Ax = b solve for xadded 1 characters in body Mar 4 answered Matrix multiplication, solve Ax = b solve for x Mar 2 comment Cannot use scipy.statsMaybe mention the explicit guideline for importing from scipy: docs.scipy.org/doc/scipy/reference/api.html (This shows up often enough, and it's indeed good to have a 'canonic' answer here on SO.) Feb 28 comment Fitting data on a Bessel function (of 2nd kind) with scipywhat do your data look like? Feb 28 answered How to speed up Poisson pmf function? Feb 23 comment Integrate values from list between two pointsIntegrals are defined for continuous functions, what exactly are you trying to achieve? Feb 17 comment Python -- Generating values from a normal (truncated at 0) distributionMoreover, `b=inf` is the default, github.com/scipy/scipy/blob/master/scipy/stats/… Feb 5 comment Fitting a 2D Gaussian function using scipy.optimize.curve_fit - ValueError and minpack.errorSince a gaussian is fully specified by its mean and covariance matrix, you actually don't need `curve_fit` at all. Here's one implementation: code.google.com/p/agpy/source/browse/trunk/agpy/gaussfitter.py Feb 3 comment What's the difference between scipy.special.binom and scipy.misc.comb?(+1) Great answer. @Anush: a why question is a good one. I guess it just so happened a while back that `scipy.special` wraps at least two good ol' specfun libraries, amos and cephes (and a few more things from here and there). If you feel like helping to clean it, help is appreciated: github.com/scipy/scipy/… Feb 3 comment What's the difference between scipy.special.binom and scipy.misc.comb?the `exact=True` code path is python; otherwise, yes, it uses gamma-function. Now that you see it, what is the question? Feb 3 comment What's the difference between scipy.special.binom and scipy.misc.comb?yeah, inspect module fails for C extensions. So you have a partial answer here: `comb` is a pure-python implementation which inspect shows, and `binom` is a ufunc, so you'll need to hunt down `generate_ufunc.py` in the scipy source tree. Feb 3 comment What's the difference between scipy.special.binom and scipy.misc.comb?(I did not downvote) One way of answering these sorts of questions is `inspect.getsource`. Feb 3 comment Finding the root of a multivariate function at different variable values with Pythonas a hack, you can use `root`: make your function accept an N-valued array and return an N-valued array. Feb 3 revised math expression for scipy.stats.wald.pdf?add an example Feb 3 answered math expression for scipy.stats.wald.pdf? Feb 3 comment math expression for scipy.stats.wald.pdf?(+1) for the recommendation. Sadly, there's a typo in the `wald` docstring: it should be `wald.pdf(x)` --- cf line 5913 :-).