NumPy · Lesson 4.1 · Pro
Random numbers
Make repeatable random numbers with a seeded generator, draw from common distributions, and sample or shuffle.
In this lesson
- A generator with a seed
- Common distributions
- Pick items with choice
- Shuffle for a train/test split
Go Pro to read this lesson
Pro unlocks every lesson and practice problem in SQL, Python, pandas and NumPy, with answers and step-by-step explanations.