concat_blocks
Note
This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the Habitat Guide and Python API guide (v2.0) for usage.
- concat_blocks(blocks: Sequence[DataFrame], *, owner: str) DataFrame[source]
Concatenate child blocks column-wise with a duplicate-column guard.
- Parameters:
blocks – Child blocks in child order.
owner – Combiner name used in error messages.
- Returns:
The merged block. A single child is returned as a copy, so a combiner node with one child behaves as a transparent rename point.
- Raises:
HABITAPIError – On row mismatch or duplicated output column names.