The cyclomatic complexity greater of the BcdiProcessor.preprocess_data method is than 28, this method should be broken down into multiples functions. Best practice would be to create a submodule Preprocessor.