I've been trying to create some filters in the pipeline with fundamental data ratios. However, I want to use adjusted ratios. When I apply a filter, the data frame automatically invalidates all calculated fields if there is at least one NaN in the calculation. I was wondering whether there is a way to replace NaN fields with zero so that the calculated fields are no longer invalid? This would allow me to use them later in the pipeline as a filter.
As an example I attach a notebook where the calculated field NWC is invalidated in cases when unearned revenue is missing.
Any suggestions are very appreciated!
Rob