3 ms·
I mean not writing your own loops. A built in function is indeed better. But usually not what you need. And also, readability > speed when the execution time is
by oneoff786 4y ago
I mean not writing your own loops. A built in function is indeed better. But usually not what you need. And also, readability > speed when the execution time is trivial, which is it probably should be for pandas scale data.