Completed
- Intro & Background Info
Class Central Classrooms beta
YouTube videos curated by Class Central.
Classroom Contents
Generating Mock Data with Python - NumPy, Pandas, and Datetime Libraries
Automatically move to the next video in the Classroom when playback concludes
- 1 - Intro & Background Info
- 2 - What we're creating in this video!
- 3 - Start writing code generating a simple dataframe & csv
- 4 - Task: Making our data more realistic, selecting some products with higher probability than others
- 5 - Task: Generate 12 months worth of data in 12 csvs calendar library, f-strings
- 6 - Make some months have more purchases than others
- 7 - Normal distributions in NumPy
- 8 - Improving speed of our code making testing easier
- 9 - Task: Generate random addresses for our data
- 10 - Task: Generate order times for purchases datetime library overview
- 11 - Using timedelta objects to add & subtract time from dates
- 12 - Generate a realistic quantity ordered for each product using numpy geometric distribution
- 13 - Add multiple items being more likely to be sold together and cleaning code a bit