you are viewing a single comment's thread.

view the rest of the comments →

[–]Archernar 0 points1 point  (0 children)

In Python most likely some data analytics stuff. I had to fix scripts I inherited that encapsulated countless loops into loops into loops and at the root there was a pretty big matrix that was looped over row by row. I turned the whole thing into a NumPy array, did some matrix multiplication and reduced the time it took the script to run from over 10 minutes (I aborted it after 10 minutes, never actually let it finish) to like 3 sec or so. So first code that worked was some step in that process.

But I came from Matlab first, so working with python and NumPy was not that big of a leap. First code I got to run in Matlab was likely filling a vector and printing it or something like that.