Batch Concatenation

This function block allows users to merge multiple batches or lists of data into a single batch. It provides a straightforward way to consolidate data for further processing.

πŸ“₯ Inputs

Batch Accepts one or more batches or lists of data. Users can connect multiple input sources for merging.

πŸ“€ Outputs

Batch Outputs the merged batch as a single list of data, encompassing all input batches provided.

πŸ•ΉοΈ Controls

This function block does not have specific controls or widgets. It's designed for batch merging and functions automatically based on the incoming connections.

🎨 Features

Flexible Input Handling The block supports the merging of multiple input batches, allowing for versatile data combinations.

Automatic Merging Once the inputs are connected, the block automatically merges the batches upon evaluation.

πŸ“ Usage Instructions

  1. Connect Input Batches: Attach one or more batches or lists of data to the Batch inputs.

  2. Evaluate the Block: Run the block to merge all connected input batches into a single output batch.

πŸ“Š Evaluation

On execution, this function block processes the connected input batches, consolidating them into one cohesive list, which is then provided as the output.

πŸ’‘ Tips and Tricks

Managing Data Size

If you're working with large batches, consider using the Batch Processing block prior to merging to optimize memory usage and performance.

Filtering before Merging

If you only need specific items from each batch, you might want to use Exclude Nones or Filter before feeding them into this block to ensure cleaner merged data.

Batch Divide and Concatenate

You may also use Batch Processing function block to process batches before merging them.

For example, split or filter data before merging to have greater control over resulting batch.

πŸ› οΈ Troubleshooting

No Output Data

If no output batch is produced, check to ensure that you have connected valid data batches to the input sockets. Empty inputs will result in an empty output.

Data Type Errors

Ensure that the data types of the batches being merged are compatible. Incompatible types may result in errors or unexpected behavior. Use Data Type Converter when necessary to align data types before merging.

Last updated