4 Comments

Highly insightful Avi. Thanks for sharing

Expand full comment

I thought that Pandas used Numpy under the hood. If so how converting pandas column into Numpy to add a row would change the pattern you mention ( reallocation ) ?

Expand full comment

Wouldn’t the proposed solution of converting to a dict adding the row and converting back be much slower?

Expand full comment

Very useful! How did you produce the diagram of the time measurements?

Expand full comment