preprocessing for TAIEX prediction written by python