Fake but Realistic Test Data in Python With Faker
A quick comma-split loader failed on all 200 rows of realistic fake customers.
Video #100 ยท AI security and governance
Steps in the video
Files
- compare.py (20 lines)
- loaders.py (22 lines)
- people.py (14 lines)
Tested with
Python 3.12.15 | Faker==40.41.0
What this does not show
200 made-up customers from one library (Faker 40.41.0), one locale (en_GB) and one seed; only four email calls tested; the date of birth depends on the day you run it; fake rows are not the shape of your real data.
Sources
Learning IT by Example.