The Real Python Podcast cover image

Using NumPy and Linear Algebra for Faster Python Code

The Real Python Podcast

00:00

NumPy, You Can't Escape Loops

Some things you can't escape loops. So when I was talking about this element-wise application of a function to every single element in your matrix or your vector, it is doing the loop in C rather than in Python. It's faster because it's just a faster language.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app