Understanding the internal working of Pandas DataFrame.
Highly insightful Avi. Thanks for sharing
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 ) ?
Wouldn’t the proposed solution of converting to a dict adding the row and converting back be much slower?
Very useful! How did you produce the diagram of the time measurements?
Highly insightful Avi. Thanks for sharing
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 ) ?
Wouldn’t the proposed solution of converting to a dict adding the row and converting back be much slower?
Very useful! How did you produce the diagram of the time measurements?