Replace None
This function block is designed to replace None values in the input data with a specified new value. It's useful for ensuring that subsequent operations have valid data to work with.
π₯ Inputs
Input Data The incoming data that will be checked for None values.
New Data The value that will replace the input data if the input data is None.
π€ Outputs
Replaced Data This output provides the input data, with None values replaced by the new specified data.
πΉοΈ Controls
This function block does not have traditional controls, but it accepts inputs via connected function blocks.
π¨ Features
Simple Replacement Replaces None values in the input data, providing a simple way to ensure data integrity.
Generic Data Handling Works with any type of data, making it versatile for various use cases.
π Usage Instructions
Connect Input Data: Link the data source that may contain
Nonevalues to theInput Datainput.Specify New Value: Connect a value to the
New Datainput that you want to use as a replacement for anyNonevalues.Evaluate: When the block is evaluated, it will output the input data with any
Nonevalues replaced by the new specified data.
π Evaluation
When executed, this function block checks the input data. If it's None, it outputs the new data; otherwise, it returns the original data.
π‘ Tips and Tricks
π οΈ Troubleshooting
Last updated
Was this helpful?