seriesTransform-CleanserNode

The cleanser node allows you to replace NaN values in the source data set since the NaN values cause errors while calculating the raw data from the source.
Figure 54.   Cleanser Node on Wire Sheet
Image

To use the CleanserNode component, drag it from the Series Transform palette onto the Wire Sheet view and connect a HistorySource output to the Cleanser Inputs slot. Double-click on the Cleanser component in the Wire Sheet view, and use the detectors and replacers in the Cleanser window to replace the NaN values in the data source.

Connect the output from the Cleanser node to another SeriesTransform node input or directly to a Terminal Node input as desired.

Figure 55.   Cleanser Editor
Image

The cleanser node have only one NanDetector and four replacers types.

  • ReplaceWithInterpolation: If a NaN value is detected in the source data, replace with the average of the previous record and the next record which have valid non-NaN values
  • ReplaceWithLastGood: If a NaN value is detected in the source data, replace with the previous record which has a valid non-NaN value.
  • ReplaceWithNextGood: If a NaN value is detected in the source data, replace with the next record which has a valid non-NaN value.
  • ReplaceWithZero: If a NaN value is detected in the source data, replace the NaN values with a zero value.

Resolve the graph and check that the table displays the numeric values without any NaN values.