> For the complete documentation index, see [llms.txt](https://smartpredict.gitbook.io/smartpredict-ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://smartpredict.gitbook.io/smartpredict-ai/module-reference/core-modules/4.-data-preprocessing/generic-data-preprocessor.md).

# Generic Data Preprocessor

This module belongs to the "Data preprocessing" category.

The Generic Data Preprocessor is for transforming the input data using a saved preprocessing model. It supports Numpy array or Pandas dataframes as datasets to be transformed. It outputs the transformed data in the same type as the input.

![This first input port takes a saved preprocessor model for transforming the data.](https://1833277725-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lyc1OXsKqB2S62LxsOR%2F-M10uvHzGuCNNaAjJF7G%2F-M10wmfeKCyDF5_1opgM%2Fgen!1.png?alt=media\&token=6ee04f7b-c6cf-4ae0-ad5f-39d06389ab29)

![The second input receives an array or a dataframe data type.](https://1833277725-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lyc1OXsKqB2S62LxsOR%2F-M10jB-a6Qur6cGwrdOO%2F-M10mKS69oPmx4wqdwLo%2FINput2.png?alt=media\&token=61a3f97c-5e3c-43d8-8612-8e97c565713f)

![The output port delivers the transformed data.](https://1833277725-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lyc1OXsKqB2S62LxsOR%2F-M10jB-a6Qur6cGwrdOO%2F-M10mP_tL8ZthVflG1Tr%2Fscreenshot-app.smartpredict.ai-2020.02.26-16_52_25.png?alt=media\&token=ebe769f9-2c3a-4ea2-83ab-46c7b4ca5ba3)
