# ML Transformer

### Transformer:

A Transformer is an algorithm which can transform one DataFrame into another DataFrame. E.g., an ML model is a Transformer which transforms a DataFrame with features into a DataFrame with predictions.

![](https://2100080250-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M1PNTHVApkPePuMdTu3%2F-M2l4NvDmy2BfmmEg-4P%2F-M2lOnrsr_mJnM-DBfhq%2Ftransformer.jpg?alt=media\&token=2cea92d3-2c13-4e2f-873e-6e78e64b2491)

Keyword of a transformer is method used: ***transform***
