pydpeet.merge_into_series#
- pydpeet.merge_into_series(dfs, time_between_tests_seconds=60.0, verbose=True, sort_dfs=True)[source]#
Run a list of DataFrames as a single aging test series.
Each DataFrame is treated as a single test in the series. The ‘Test_Time[s]’ column of each DataFrame is adjusted to create a continuous time axis. A pause row is added after each DataFrame (except the last one) to indicate a pause in the test series.
The function returns a single DataFrame with the merged test series.
Parameters: df_list (List[List[pandas.DataFrame]]): List of DataFrames (or list of (df, filename) pairs). time_between_tests_seconds (float, optional): Time between tests in seconds. Defaults to 60.0. verbose (bool, optional): If True, log debug messages. Defaults to True. sort_dfs (bool, optional): If True, sort the DataFrames by their ‘Date_Time’ column. Defaults to True.
Returns: pandas.DataFrame: Merged DataFrame with a single test series.