woodwork.utils.concat_columns#

woodwork.utils.concat_columns(objs, validate_schema=True)[source]#

Concatenate Woodwork objects along the columns axis. There can only be one index and time index set across the objects passed in. As Woodwork does not allow duplicate column names, will not allow duplicate columns at concatenation.

Parameters:
  • objs (list[Series, DataFrame]) – The Woodwork objects to be concatenated. If Woodwork is not initialized on any of the objects, type inference will be performed.

  • validate_schema (bool, optional) – Whether validation should be performed on the typing information for the concatenated DataFrame. Defaults to True.

Returns:

A Woodwork dataframe whose typing information is also a concatenation of the input dataframes.

Return type:

DataFrame