In contrast, while I'm not an expert in JS or Python, I find that time spent struggling with those technologies pays dividends since the lessons learned make everything I do in the future easier.
This is highly subjective of course, but in your opinion, should I keep fighting with Pandas? Is it worth it?
Did you mean linear regression?
Linear optimization isn't a use case that Pandas covers, but there are other tools that I can recommend.