Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python Introduction to NumPy Meet NumPy Multidimensional Arrays

Stuart Wright
Stuart Wright
41,120 Points

Precision Error

Very minor point but Craig states at around 5:10 in this video that we didn't run into any precision errors with our dataset, but we actually did. 3.286 stored as np.float16 becomes 3.28515625, which was displayed in the Jupyter Notebook output as 3.285.

1 Answer

Craig Dennis
STAFF
Craig Dennis
Treehouse Teacher

Nice catch Stuart! If you pay attention, you'll notice I stumble....I was expecting it in the last row, but missed it in the first one!

That's a great example of the precision problem.

Nice :eyes:!