get_failed_steps_for_dataset

coffea.dataset_tools.get_failed_steps_for_dataset(dataset: DatasetSpec, report: Array) DatasetSpec[source]

Modify an input dataset to only contain the files and row-ranges for failed processing jobs as specified in the supplied report. :param dataset: The dataset to be reduced to only contain files and row-ranges that have previously encountered failed file access. :type dataset: DatasetSpec :param report: The computed file-access error report from dask-awkward. :type report: awkward.Array

Returns:

out – The reduced dataset with only the row-ranges and files that failed processing, according to the input report.

Return type:

DatasetSpec