---
title: "preprocessed(from:eventHandler:)"
framework: createmlcomponents
role: symbol
role_heading: Instance Method
path: "createmlcomponents/preprocessingupdatabletabularestimator/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:eventHandler:)](createmlcomponents/preprocessingupdatabletabularestimator/fitted(to:eventhandler:).md)
- [fitted(toPreprocessed:eventHandler:)](createmlcomponents/preprocessingupdatabletabularestimator/fitted(topreprocessed:eventhandler:).md)
- [update(_:with:eventHandler:)](createmlcomponents/preprocessingupdatabletabularestimator/update(_:with:eventhandler:).md)
- [update(_:withPreprocessed:eventHandler:)](createmlcomponents/preprocessingupdatabletabularestimator/update(_:withpreprocessed:eventhandler:).md)
- [makeTransformer()](createmlcomponents/preprocessingupdatabletabularestimator/maketransformer().md)
- [PreprocessingUpdatableTabularEstimator.Input](createmlcomponents/preprocessingupdatabletabularestimator/input.md)
- [PreprocessingUpdatableTabularEstimator.Intermediate](createmlcomponents/preprocessingupdatabletabularestimator/intermediate.md)
- [PreprocessingUpdatableTabularEstimator.Output](createmlcomponents/preprocessingupdatabletabularestimator/output.md)
- [Transformer](createmlcomponents/transformer.md)
