State.tracing.get_trace_target#
- State.tracing.get_trace_target(df: DataFrame, slicer: str, column: Any | None = None)#
get target ids and column or index to identify target trace rows in df
- Parameters:
- df: pandas.DataFrame
This dataframe is to be sliced
- slicer: str
name of column or index to use for slicing
- columnAny
- Returns:
- targetint or list of ints
id or ids that identify tracer target rows
- columnstr
name of column to search for targets or None to search index