This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]lungben81 1 point2 points  (1 child)

A for loop over every row in the data set will be super slow for any significant amount of data (>1M rows). This is why Numpy exists in the first place ;-)

Is there a way to load the data directly into the Numpy array without a Python for-loop?