quantopian / alphalens

Performance analysis of predictive (alpha) stock factors
http://quantopian.github.io/alphalens
Apache License 2.0
3.18k stars 1.12k forks source link

MissingDataError: exog contains inf or nans #393

Open sokol11 opened 3 years ago

sokol11 commented 3 years ago

I am getting the MissingDataError: exog contains inf or nans when I am trying to get the returns tearsheet. The input data from get_clean_factor_and_forward_returns does not have any nans or infs in it. I saw mentions of this error on the Quantopian forum (https://quantopian-archive.netlify.app/forum/threads/alphalens-giving-exog-contains-inf-or-nans.html) and a couple of other places, but no solution. Any thoughts? Thank you!

tianyilovealing commented 2 years ago

Now I also meet this problem, I don't know how to deal with it, have you solved it?

Hwashengstacy commented 8 months ago

have you guys solved it,i got no clue about it!!!!!