---
title: "preprocessed(from:eventHandler:)"
framework: createmlcomponents
role: symbol
role_heading: Instance Method
path: "createmlcomponents/preprocessingsupervisedtabularestimator/preprocessed(from:eventhandler:)"
---

# preprocessed(from:eventHandler:)

Preprocesses a data frame of examples.

## Declaration

```swift
func preprocessed(from input: DataFrame, eventHandler: EventHandler? = nil) async throws -> DataFrame
```

## Parameters

- `input`: A data frame of examples.
- `eventHandler`: An event handler.

## Return Value

Return Value The preprocessed examples.

## See Also

### Preprocesing and fitting

- [fitted(to:validateOn:eventHandler:)](createmlcomponents/preprocessingsupervisedtabularestimator/fitted(to:validateon:eventhandler:).md)
- [fitted(toPreprocessed:validateOn:eventHandler:)](createmlcomponents/preprocessingsupervisedtabularestimator/fitted(topreprocessed:validateon:eventhandler:).md)
- [PreprocessingSupervisedTabularEstimator.Annotation](createmlcomponents/preprocessingsupervisedtabularestimator/annotation.md)
- [PreprocessingSupervisedTabularEstimator.Input](createmlcomponents/preprocessingsupervisedtabularestimator/input.md)
- [PreprocessingSupervisedTabularEstimator.Intermediate](createmlcomponents/preprocessingsupervisedtabularestimator/intermediate.md)
- [PreprocessingSupervisedTabularEstimator.Output](createmlcomponents/preprocessingsupervisedtabularestimator/output.md)
- [Transformer](createmlcomponents/transformer.md)
