Logo

statsmodels.tools.tools.recipr0

statsmodels.tools.tools.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.

Previous topic

statsmodels.tools.tools.recipr

Next topic

statsmodels.tools.tools.unsqueeze

This Page