4.1.7.1.6. statsmodels.base.model.recipr

statsmodels.base.model.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.