You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ufunc 'isfinite' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
#385
Open
xuanronaldo opened this issue
Sep 7, 2020
· 6 comments
I cathed an exception as the title saying when I call the function "get_clean_factor_and_forward_returns()".But it worked well before. Please provide a minimal, self-contained, and reproducible example:
so u donot use this function? But how do u get the best factor return
I do call this function! I mean this line "factor_copy = factor_copy[np.isfinite(factor_copy)]" was deleted.U can track this line by ctrl and left mouse button if u use pycharm or some IDE else.
Problem Description
I cathed an exception as the title saying when I call the function "get_clean_factor_and_forward_returns()".But it worked well before.
Please provide a minimal, self-contained, and reproducible example:
Please provide the full traceback:
Please provide any additional information below:
Versions
The text was updated successfully, but these errors were encountered: