CurationComponent

class openff.evaluator.datasets.curation.components.CurationComponent[source]

A base component for curation components which apply a particular operation (such as filtering or data conversion) to a data set.

__init__()

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__()

Initialize self.

apply()

Apply this curation component to a data set.

classmethod apply(data_set: PhysicalPropertyDataSet, schema: CurationComponentSchema, n_processes: int = '1') → PhysicalPropertyDataSet[source]
classmethod apply(data_set: pandas.DataFrame, schema: CurationComponentSchema, n_processes: int = '1')pandas.DataFrame

Apply this curation component to a data set.

Parameters
  • 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.

Returns

Return type

The data set which has had the component applied to it.