__add__#

Dataset.__add__(other: Dataset) Dataset[source]#

Overloading of the “+” operator for Datasets.

It will call the Dataset.merge() method multiple times if needed:

  • Once with default parameters

  • If it fails because of an incompatible label map, it will try to remap the other dataset’s label map to match this dataset.

  • If it fails because of another error, it will try to use the ignore_index option set to True.

See also

Dataset.merge()

Parameters:

other – Other dataset to merge the first dataset with.

Returns:

Merged Dataset.