Introduction to Rounding Numbers in Python

Поділитися
Вставка
  • Опубліковано 19 чер 2024
  • This is a preview of the video course, "Rounding Numbers in Python." Understanding how rounding works in Python can help you avoid biasing your dataset. This is an important skill. After all, drawing conclusions from biased data can lead to costly mistakes.
    This is a portion of the complete course, which you can find here:
    realpython.com/courses/roundi...
    The rest of the course covers:
    - Rounding Half Up and Half Down
    - Zeroing the Bias
    - Complications with Floating Points
    - How to implement each strategy in pure Python
    - How rounding affects data and which rounding strategy minimizes this effect
    - When to apply different rounding strategies

КОМЕНТАРІ • 4

  • @rishiraj2548
    @rishiraj2548 9 днів тому

    👍

  • @puffinjuice
    @puffinjuice 9 днів тому

    This is an important course because rounding numbers doesnt make sense in python! I was shocked to find there is no function to perform swedish rounding. Even if they think its not a good idea to use this rounding method a function should be available in one of the foundational packages.

  • @1234567qwerification
    @1234567qwerification 9 днів тому

    4:47 You get 1.0, not 1 :)