statsmodels.tools.tools.recipr0¶ statsmodels.tools.tools.recipr0(x)[source]¶ Reciprocal of an array with entries less than 0 set to 0. Parameters:¶ xarray_likeThe input array. Returns:¶ ndarrayThe array with 0-filled reciprocals.