concat

Contents

concat#

Catalog.concat(other: Catalog, *, ignore_empty_margins: bool = False, **kwargs) Catalog[source]#

Concatenate two catalogs by aligned HEALPix pixels.

Parameters:
otherCatalog

Catalog to concatenate with.

ignore_empty_marginsbool, default False

If True, keep the available margin when only one side has it (treated as incomplete). If False, drop margins when only one side has them. Defaults to False.

**kwargs

Extra arguments forwarded to internal pandas.concat.

Returns:
Catalog

New catalog with OUTER pixel alignment. If both inputs have a margin — or if ignore_empty_margins=True and at least one side has it — the result includes a concatenated margin dataset.

Raises:
ValueError

If RA/Dec column names differ between the input catalogs, or between a catalog and its own margin.