Whew! What a journey this has been!
In this video course, you’ve learned that:
- There are various rounding strategies, which you now know how to implement in pure Python.
- Every rounding strategy inherently introduces a rounding bias, and the rounding half to even strategy mitigates this bias well, most of the time.
- The way in which computers store floating-point numbers in memory naturally introduces a subtle rounding error, but you learned how to work around this with the
decimal
module in Python’s standard library. - You can round NumPy arrays and pandas
Series
andDataFrame
objects. - There are best practices for rounding with real-world data.
Congratulations, you made it to the end of the course! What’s your #1 takeaway or favorite thing you learned? How are you going to put your newfound skills to use? Leave a comment in the discussion section and let us know.
Jordan Bell on Dec. 13, 2024
million^(51) = (10^6)^(51) != 10^(6^51)