Source code for ppc_robot_lib.reporting.transformation.concat

import pandas


[docs] def concat(*tables: list[pandas.DataFrame]) -> pandas.DataFrame: """ Concatenates rows of multiple tables into one. Internally uses :py:func:`pandas.concat` over the rows axes, this means that the same semantics applies. All indexes are ignored. **Example:** >>> from ppc_robot_lib.reporting.transformation import concat >>> concat(table_a, table_b, table_c) :param tables: Tables to concat. :return: Concatenated DataFrames. """ return pandas.concat(tables, ignore_index=True, copy=False)