Re:Why Is Python Growing So Quickly?
by goatlover on Thursday September 14, 2017 @02:47PM
(#15251181)
Good question. I did have a situation where looping over a fairly large Pandas dataframe took 12 minutes, but using the underlying numpy values took only 3 seconds. The looping was required to do complicated row and column operations.
Similarly, naybe the C++ code was using an inefficient data structure for a large dataset compared to using something like Numpy.
Similarly, naybe the C++ code was using an inefficient data structure for a large dataset compared to using something like Numpy.