Run-Time Optimization
Why You Should Avoid Appending Rows To A DataFrame
...and what happens if you do.
A collection of 12 posts
...and what happens if you do.
So the best way to speedup python is by not using python?
A simple tweak to improve iteration run-time over a DataFrame.
The core reason which very few told you about.
KMeans++: KMeans with a smarter centroid initialization approach.