Metadata-Version: 2.1
Name: cleandat
Version: 0.0.2
Summary: Python functions to facilitate the pre-processing of data for ML tasks in a clinical context.
Home-page: https://github.com/tiadams/cleandat
Author: Tim Adams
Author-email: tim-adams@gmx.net
License: MIT License
License-File: LICENSE


# CleanDat
Python functions to facilitate the pre-processing of data to prepare them for ML tasks, especially suitable for data in a clinical context.

---

Major functionalities include heuristic based data cleaning and feature engineering like:
- Automatic detection of encoding strings (e.g. 1=m) and application of the corresponding encoding to un-encoded data of the corresponding column
- Automatic detection of date strings of different formats (e.g. 2019-01-01, 01/01/2019, January 2022) and conversion to a unified format
- Encoding of date strings into decomposed date features (e.g. year, month, day, weekday, etc.)
- Heuristics for unification of different number formats, e.g. 1,000.00 vs. 1.000,00 or exponential notations like 1e3 vs 10x10^2
- Detection and replacement of inconsistent data values

# Setup

Install via pip:

    pip install cleandat
