Glossary · Phase 0 · Tools
NumPy
A Python library for fast math on whole arrays of numbers at once.
Try it now
Units sold (tee, hoodie, mug) on two days, times each product's price. Every cell is combined with the cell in the same position. No loop needed.
Learn it properly
NumPy arrays · Do math on whole columns at once, the foundation of every ML library. About 30 minutes.
Other terms from the same lesson
- array: A grid of numbers (a row, a table, or more) that NumPy can do math on all at once.
- broadcasting: NumPy and PyTorch stretching a smaller array to match a bigger one, so you can add a single number or a row to a whole table at once.
- dtype: What kind of number an array holds, such as whole numbers (int64) or decimals (float32). It sets precision and memory use.
Never trained an AI?
Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.