Closed martin6336 closed 3 years ago
Looks like the problem was caused by news.swifter.apply
? (you can add a print
before and after it to verify this.)
If that is the case, stop using swifter
by replacing news.swifter.apply
with news.apply
to avoid the multithreading issue caused by it. The cost is you will lose a cute progress bar and possibly get performance degradation.
Thanks, it works!
By the way, the performance degradation you mentioned is referred to the speed of data processing or the final score of models?
I mean the speed of data processing. :smiley:
When I run python3 src/data_preprocess.py, there seem some problems with threading? The error report does not give the problem location in the code.