- class openff.evaluator.datasets.curation.components.CurationComponent
A base component for curation components which apply a particular operation (such as filtering or data conversion) to a data set.
- classmethod apply(data_set: PhysicalPropertyDataSet, schema: CurationComponentSchema, n_processes: int = 1) PhysicalPropertyDataSet
- classmethod apply(data_set: DataFrame, schema: CurationComponentSchema, n_processes: int = 1) DataFrame
Apply this curation component to a data set.
data_set – The data frame to apply the component to.
schema – The schema which defines how this component should be applied.
n_processes – The number of processes that this component is allowed to parallelize across.
- Return type
The data set which has had the component applied to it.