dqa.tasks.time_series.IntervalListDifference#
- class dqa.tasks.time_series.IntervalListDifference(a_start: str, a_end: str, b_start: str, b_end: str, relative: bool = True, **kwargs)#
Computes the total length of the intervals of list a that is not contained in the intervals of list b.
Both lists have to consist of sorted, non-intersecting intervals.
- Parameters:
a_start (str) – Name of the data row containing the start times of list a.
a_end (str) – Name of the data row containing the end times of list a.
b_start (str) – Name of the data row containing the start times of list b.
b_end (str) – Name of the data row containing the end times of list b.
relative (bool, default=True) – If true, then the result is returned as a share of the total length of the intervals in a. Otherwise the absolute value is returned.
Methods
finish
()Can perform actions that are required to clean up after the task has finished, e.g. close network connections etc.
in_out_default
input_output_dataset
input_output_machine
input_output_mode
input_output_name
interval_intersection_length
log
modify_data_row
modify_dataset
modify_dataset_dict
modify_machine
modify_measurement
set_logging_level
transfer_metadata