The Real Python Podcast cover image

Harnessing Python's math Module and Exposing Practical Pandas Functions

The Real Python Podcast

00:00

Is There a Way to Calculate Multidimensional Vectors With Python?

i the math mage is big, and i don't think that people commonly reach for it when, like you mentioned, there's some things you might do with like, numb piend. The olyrthing that i see, know's a common mistake made with with python, is using the sum function to sum a list of floating point values. And in a lot of cases that's ok, but whenever you need any kind of precision, there are a whole host of metho functions which will limit rounding errors.

Play episode from 35:52
Transcript

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