4.7.14.1.13. statsmodels.tools.tools.recipr

statsmodels.tools.tools.recipr(X)[source]

Return the reciprocal of an array, setting all entries less than or equal to 0 to 0. Therefore, it presumes that X should be positive in general.