Python module for data preprocessing