uf3.data.io.concat_dataframes

concat_dataframes(dataframes: List[pandas.core.frame.DataFrame], remove_duplicates: bool = True, keep: str = 'first') pandas.core.frame.DataFrame[source]

Concatenate list of dataframes with optional removal of duplicate keys.

Parameters
  • dataframes (list) – list of DataFrames to merge

  • remove_duplicates (bool) – remove duplicates.

  • keep (str, bool) – ‘first’, ‘last’, or False.

Returns

df (pandas.DataFrame)