Artwork

Inhalt bereitgestellt von Real Python. Alle Podcast-Inhalte, einschließlich Episoden, Grafiken und Podcast-Beschreibungen, werden direkt von Real Python oder seinem Podcast-Plattformpartner hochgeladen und bereitgestellt. Wenn Sie glauben, dass jemand Ihr urheberrechtlich geschütztes Werk ohne Ihre Erlaubnis nutzt, können Sie dem hier beschriebenen Verfahren folgen https://de.player.fm/legal.
Player FM - Podcast-App
Gehen Sie mit der App Player FM offline!

Python Doesn't Round Numbers the Way You Might Think

48:50
 
Teilen
 

Manage episode 427335184 series 2637014
Inhalt bereitgestellt von Real Python. Alle Podcast-Inhalte, einschließlich Episoden, Grafiken und Podcast-Beschreibungen, werden direkt von Real Python oder seinem Podcast-Plattformpartner hochgeladen und bereitgestellt. Wenn Sie glauben, dass jemand Ihr urheberrechtlich geschütztes Werk ohne Ihre Erlaubnis nutzt, können Sie dem hier beschriebenen Verfahren folgen https://de.player.fm/legal.

Does Python round numbers the same way you learned back in math class? You might be surprised by the default method Python uses and the variety of ways to round numbers in Python. Christopher Trudeau is back on the show this week, bringing another batch of PyCoder’s Weekly articles and projects.

Christopher discusses his recent video course, “Rounding Numbers in Python.” He covers rounding bias and how to avoid introducing it into your dataset. We dig into the various rounding strategies and how to implement them in Python.

We also share several other articles and projects from the Python community, including a news roundup, a fast Python linter for error-free and maintainable code, the decline of the user interface, more thoughts on Python in Excel, a discussion about calendar versioning for Python, a financial database as a Python module, and a project to prettify the colors of your terminal user interfaces.

This episode is sponsored by Sentry.

Course Spotlight: Rounding Numbers in Python

In this video course, you’ll learn about the mistakes you might make when rounding numbers and how to best manage or avoid them. It’s a great place to start for the early to intermediate Python developer who’s interested in using Python for finance, data science, or scientific computing.

Topics:

  • 00:00:00 – Introduction
  • 00:02:06 – NumPy 2.0.0 Release Notes
  • 00:02:52 – Python 3.13.0 beta 3 released
  • 00:03:05 – Announcing the PSF Board Candidates for 2024!
  • 00:03:27 – Prohibiting Outlook Email Domains
  • 00:04:31 – Ruff: A Python Linter for Error-Free and Maintainable Code
  • 00:09:31 – Sponsor: Sentry
  • 00:10:35 – The Decline of the User Interface
  • 00:19:14 – My Thoughts on Python in Excel
  • 00:26:30 – Rounding Numbers in Python
  • 00:30:53 – Video Course Spotlight
  • 00:32:13 – PEP 2026: Calendar Versioning for Python
  • 00:42:37 – Financial Database as a Python Module
  • 00:45:34 – prettypretty: Build Awesome Terminal User Interfaces
  • 00:47:48 – Thanks and goodbye

News:

Show Links:

  • Ruff: A Python Linter for Error-Free and Maintainable Code – Ruff is an extremely fast, modern linter with a simple interface, making it straightforward to use. It also aims to be a drop-in replacement for other linting and formatting tools, like Pylint, isort, and Black. It’s no surprise it’s quickly becoming one of the most popular Python linters.
  • The Decline of the User Interface – “Software has never looked cooler, but user interface design and user experience have taken a sharp turn for the worse.”
  • My Thoughts on Python in Excel – Microsoft’s new Python in Excel functionality was released almost a year ago. Having now had time to play with it, Felix gives his take.
  • Rounding Numbers in Python – In this video course, you’ll learn about the mistakes you might make when rounding numbers and how to best manage or avoid them. It’s a great place to start for the early to intermediate Python developer who’s interested in using Python for finance, data science, or scientific computing.

Discussion:

Projects:

Additional Links:

Level up your Python skills with our expert-led courses:

Support the podcast & join our community of Pythonistas

  continue reading

221 Episoden

Artwork
iconTeilen
 
Manage episode 427335184 series 2637014
Inhalt bereitgestellt von Real Python. Alle Podcast-Inhalte, einschließlich Episoden, Grafiken und Podcast-Beschreibungen, werden direkt von Real Python oder seinem Podcast-Plattformpartner hochgeladen und bereitgestellt. Wenn Sie glauben, dass jemand Ihr urheberrechtlich geschütztes Werk ohne Ihre Erlaubnis nutzt, können Sie dem hier beschriebenen Verfahren folgen https://de.player.fm/legal.

Does Python round numbers the same way you learned back in math class? You might be surprised by the default method Python uses and the variety of ways to round numbers in Python. Christopher Trudeau is back on the show this week, bringing another batch of PyCoder’s Weekly articles and projects.

Christopher discusses his recent video course, “Rounding Numbers in Python.” He covers rounding bias and how to avoid introducing it into your dataset. We dig into the various rounding strategies and how to implement them in Python.

We also share several other articles and projects from the Python community, including a news roundup, a fast Python linter for error-free and maintainable code, the decline of the user interface, more thoughts on Python in Excel, a discussion about calendar versioning for Python, a financial database as a Python module, and a project to prettify the colors of your terminal user interfaces.

This episode is sponsored by Sentry.

Course Spotlight: Rounding Numbers in Python

In this video course, you’ll learn about the mistakes you might make when rounding numbers and how to best manage or avoid them. It’s a great place to start for the early to intermediate Python developer who’s interested in using Python for finance, data science, or scientific computing.

Topics:

  • 00:00:00 – Introduction
  • 00:02:06 – NumPy 2.0.0 Release Notes
  • 00:02:52 – Python 3.13.0 beta 3 released
  • 00:03:05 – Announcing the PSF Board Candidates for 2024!
  • 00:03:27 – Prohibiting Outlook Email Domains
  • 00:04:31 – Ruff: A Python Linter for Error-Free and Maintainable Code
  • 00:09:31 – Sponsor: Sentry
  • 00:10:35 – The Decline of the User Interface
  • 00:19:14 – My Thoughts on Python in Excel
  • 00:26:30 – Rounding Numbers in Python
  • 00:30:53 – Video Course Spotlight
  • 00:32:13 – PEP 2026: Calendar Versioning for Python
  • 00:42:37 – Financial Database as a Python Module
  • 00:45:34 – prettypretty: Build Awesome Terminal User Interfaces
  • 00:47:48 – Thanks and goodbye

News:

Show Links:

  • Ruff: A Python Linter for Error-Free and Maintainable Code – Ruff is an extremely fast, modern linter with a simple interface, making it straightforward to use. It also aims to be a drop-in replacement for other linting and formatting tools, like Pylint, isort, and Black. It’s no surprise it’s quickly becoming one of the most popular Python linters.
  • The Decline of the User Interface – “Software has never looked cooler, but user interface design and user experience have taken a sharp turn for the worse.”
  • My Thoughts on Python in Excel – Microsoft’s new Python in Excel functionality was released almost a year ago. Having now had time to play with it, Felix gives his take.
  • Rounding Numbers in Python – In this video course, you’ll learn about the mistakes you might make when rounding numbers and how to best manage or avoid them. It’s a great place to start for the early to intermediate Python developer who’s interested in using Python for finance, data science, or scientific computing.

Discussion:

Projects:

Additional Links:

Level up your Python skills with our expert-led courses:

Support the podcast & join our community of Pythonistas

  continue reading

221 Episoden

Tüm bölümler

×
 
Loading …

Willkommen auf Player FM!

Player FM scannt gerade das Web nach Podcasts mit hoher Qualität, die du genießen kannst. Es ist die beste Podcast-App und funktioniert auf Android, iPhone und im Web. Melde dich an, um Abos geräteübergreifend zu synchronisieren.

 

Kurzanleitung