captest.capdata.CapData.filter_flag

CapData.filter_flag(column, invert=False, custom_name=None)

Remove intervals where a boolean/flag column is truthy.

Parameters:
  • column (str) – Boolean/flag column. Rows where this is truthy are removed.

  • invert (bool, default False) – If True, remove rows where the column is falsy instead — keeping only the truthy rows.

  • custom_name (str, default None) – Optional display label for the recorded filter step.