Problem
Thanks @cyantangerine in #244:
I suggest that we should have a check for all code to replace 'for' to pandas.apply morely. I saw a lot of implement like this in code. It can improve the performance a lot.
Proposed Solution
for is usally bad in performance when handling pandas.dataframe, but unfortunately, there are many times when we don't take that into account.
If anyone is interested in helping us improve performance, please feel free to draft a pull reqeust!
Additional context