5.15.1.8. statsmodels.sandbox.utils_old.recipr0

statsmodels.sandbox.utils_old.recipr0(X)[source]

Return the reciprocal of an array, setting all entries equal to 0 as 0. It does not assume that X should be positive in general.