filefisher.FileContainer.concat

filefisher.FileContainer.concat#

FileContainer.concat(other, drop_duplicates=True)#

concatenate two FileContainers

Parameters:
  • other (FileContainer) – The other FileContainer to concatenate.

  • drop_duplicates (bool, default True) – Drop duplicates after concatenating.

Returns:

FileContainer – The concatenated FileContainer.

Raises:
  • ValueError – If the other object is not a FileContainer.

  • ValueError – If the two FileContainers do not have the same keys (in the same order).