4 ms·
The vast majority of the time that I've seen slow Python code, it's because people are not leveraging the libraries in the right way, e.g. by using groupby-appl
by phonebucket 5y ago
The vast majority of the time that I've seen slow Python code, it's because people are not leveraging the libraries in the right way, e.g. by using groupby-apply in Pandas or not vectorising while using NumPy.
I can't speak as to the specific use cases that you've encountered, but performance wise, I have found Python to be a fine choice for several ML services.