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
None
values to theInput Data
input.Specify New Value: Connect a value to the
New Data
input that you want to use as a replacement for anyNone
values.Evaluate: When the block is evaluated, it will output the input data with any
None
values 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