Exclude Nones

This function block is designed to filter out None values from a provided list of data. It simplifies data handling by ensuring that the output only contains valid entries.

📥 Inputs

Data List This input accepts a list of various data elements, which may include None values.

📤 Outputs

Filtered Data List This output provides the list obtained after removing all None values from the input data list.

🕹️ Controls

This function block does not include additional controls as it operates directly on the input data.

🎨 Features

Automatic Filtering The block automatically processes the input list to exclude any None values, ensuring the output dataset is clean and usable.

📝 Usage Instructions

  1. Connect Data Source: Connect any function block that produces a list of data to the Data List input.

  2. Evaluate: Run the block to obtain the filtered list, which excludes any None values.

📊 Evaluation

When executed, this function block outputs a list that consists only of valid data entries, providing a more reliable dataset for subsequent processing.

💡 Tips and Tricks

Combining with Other Functions

This block works well with Batch Processing, allowing efficient exclusion of None values in data batches before further operations like Mean Value, Maximum, or combining lists with Batch Concatenation.

Using with Logic Operations

You can connect this block with Logic Operations function block after filtering to check if all items in the filtered list meet specific conditions.

Optimizing Data Flow

To streamline data handling, use this block right after any data input to ensure that subsequent blocks operate on verified data, reducing errors related to None values.

🛠️ Troubleshooting

No Change in Output

If you notice that the output list remains unchanged, verify that the input list indeed contains None values. If it does not, the output will be the same as the input.

No Output

If the block does not output anything, check if the connected data input has been set correctly. Make sure that the input is generating data during evaluation.

Last updated