Hello i have done this work that i'd like consider as a starting point to further research based on sector performance related to the benchmark, now before i move (since it's kind of slow in gathering more than 5 years data) do you think there is a more efficient or more pythonic or more panda-friendly way to do this using pipeline?
I want to keep the pipeline approach because i want to put more factors rather then just sectors in the future.