Re:Economics Nobel laureate Paul Romer is a Python programmi...
by dunpeal on Tuesday October 09, 2018 @10:06AM
(#18176060)
Yes, that's the case for most data scientists, and often for users in general. You can get pretty good performance levels from Python by delegating to C correctly. Even end users tend to do that because the data science stack of Python (numpy and the many libraries using it) spend almost all of their runtime in C routines.
If you are using Numpy correctly (even with little understanding of Python itself and its C-API) then virtually all your hot loops are executed in optimal C code.
Re:Economics Nobel laureate Paul Romer is a Python programmi...
by mynewtb on Tuesday October 09, 2018 @11:21AM
(#18176647)
So what? Pandas and numpy are still use with Python code using their APIs. The implementation details are not something the users care about. They write Python.
Re:Economics Nobel laureate Paul Romer is a Python programmi...
by dunpeal on Tuesday October 09, 2018 @11:28AM
(#18176709)
Not sure what you're arguing. If you use numpy and pandas properly, most of your computations happen in optimized C routines.
So you will write Python, but get very good resource (both time and space) efficiency.
So most of the heavy lifting is not done by python itself.