seqme.strip

Contents

seqme.strip#

seqme.strip(df, metrics=None)[source]#

Strip deviations from metrics in the metric dataframe.

Parameters:
  • df (DataFrame) – Metric dataframe.

  • metrics (Union[list[str], str, None]) – Metric(s) whose deviations to strip. If None then strip all metrics.

Return type:

DataFrame

Returns:

DataFrame with specified metrics deviations removed.

Raises:

ValueError – If any metric is not in the dataframe.