Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
hi,sir, how can I change customer factor output to remove those nan

I run customer factor to do dmd, but the it gave me a lot of "nan" when I retrieve 100 days close values. I cannot just ffill or bffill since it would make my calculation wrong. So I figured out to delete those nan, and assets, but the 'out' parameter is a np.recarry, which I cannot just drop some.
Can some help me with this?
Appreciated.

1 response

oh, I get it.
Thanks