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.