y=psi(z) is the derivative of the logarithm of the gamma function evaluated at z (also called the digamma function).
scipy.special.betaincinv
scipy.special.rgamma
Enter search terms or a module, class or function name.