▶ Sign up free for the video, slides & prompts
The lesson below is open to all. Enter your email once to unlock every video, slide deck, prompt and code example on this device.
Checking…
AI angle: generate practice data with AI
Get realistic sample data from AI to practise on.
🎬 Video version coming soon — read it now
To practise data skills you need data. Real data is often private or hard to find, but an AI assistant can create realistic sample data in seconds.
Ask for Python-ready data
Paste the result into Colab and run it. Now you have a dataset to filter, sort and group.
Ask for deliberately messy data
Cleaning is a skill that needs practice, so ask for mess on purpose:
Check what AI gives you
Generated data can have problems:
- Wrong counts: you asked for 15 rows and got 14. Check with
len(). - Values outside the range: a CGPA of 10.4. Check with
max()andmin(). - Inconsistent keys: one row says
"Branch"instead of"branch".
That last line uses a set comprehension; you'll learn those properly later.
Never use real people's data
Sample data should be made up. Don't paste real student lists, customer records or contact details into a chatbot to "clean them up". That's personal data, and in India the DPDP Act applies to it.
In one line
AI can generate realistic practice data, including deliberate mess; check it with code, and never feed it real personal data.
Share with a friend