statsmodels.tools.tools.recipr¶
- statsmodels.tools.tools.recipr(x)[source]¶
Reciprocal of an array with entries less than or equal to 0 set to 0.
- Parameters:
- xarray_like
The input array.
- Returns:
ndarray
The array with 0-filled reciprocals.
Reciprocal of an array with entries less than or equal to 0 set to 0.
The input array.
ndarray
The array with 0-filled reciprocals.