Want to find the largest number in a NumPy array or Pandas series? Don't use Python's built-in "max" function, unless you're paid by the hour — because it'll run much slower. In this video, I demonstrate the difference in timing, and explain why this is such a problem. I also show how you can run simple benchmarks in Jupyter.
For more info about Python, subscribe to my free, weekly "Better developers" newsletter at https://BetterDevelopersWeekly.com/. And if you want to download the Jupyter notebook used in this video, go to https://github.com/reuven/YouTube-notebooks, where I'm collecting them.