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

# preprocessed(from:eventHandler:)

Preprocesses a data frame.

## 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/preprocessingupdatablesupervisedtabularestimator/fitted(to:validateon:eventhandler:).md)
- [fitted(toPreprocessed:validateOn:eventHandler:)](createmlcomponents/preprocessingupdatablesupervisedtabularestimator/fitted(topreprocessed:validateon:eventhandler:).md)
- [makeTransformer()](createmlcomponents/preprocessingupdatablesupervisedtabularestimator/maketransformer().md)
- [update(_:with:eventHandler:)](createmlcomponents/preprocessingupdatablesupervisedtabularestimator/update(_:with:eventhandler:).md)
- [update(_:withPreprocessed:eventHandler:)](createmlcomponents/preprocessingupdatablesupervisedtabularestimator/update(_:withpreprocessed:eventhandler:).md)
- [PreprocessingUpdatableSupervisedTabularEstimator.Annotation](createmlcomponents/preprocessingupdatablesupervisedtabularestimator/annotation.md)
- [PreprocessingUpdatableSupervisedTabularEstimator.Input](createmlcomponents/preprocessingupdatablesupervisedtabularestimator/input.md)
- [PreprocessingUpdatableSupervisedTabularEstimator.Intermediate](createmlcomponents/preprocessingupdatablesupervisedtabularestimator/intermediate.md)
- [PreprocessingUpdatableSupervisedTabularEstimator.Output](createmlcomponents/preprocessingupdatablesupervisedtabularestimator/output.md)
- [Transformer](createmlcomponents/transformer.md)
