insitupy.InSituExperiment.concat

insitupy.InSituExperiment.concat#

classmethod InSituExperiment.concat(objs, new_col_name=None)#

Concatenate multiple InSituExperiment objects.

Parameters:
  • objs (Union[List[InSituExperiment], Dict[str, InSituExperiment]]) – A list of InSituExperiment objects or a dictionary where keys are added as a new column.

  • new_col_name (str, optional) – The name of the new column to add when objs is a dictionary. Defaults to None.

Returns:

A new InSituExperiment object containing the concatenated data.

Return type:

InSituExperiment