The Real Python Podcast cover image

Harnessing Python's math Module and Exposing Practical Pandas Functions

The Real Python Podcast

00:00

The Close Function Is a Real Life Saver

If you do any kind of testing with a function that has floating point output, there's some room for error. If you just compare it to the equal equals operator, like what you get from the function to whatever it is you're expecting, it's your test might fail. And this is close. That's kind of where i've used it a lot in the past, is in the in testing like that. So, another really cool one that's in the airput e.

Play episode from 38:57
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