Skip to content
IT Vizag
← Lists, Dicts & Data

▶ 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

Lesson 8 of 9 · 2 min read

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

🔒 Ready-to-copy prompt: sign up free (above) to unlock it.

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:

🔒 Ready-to-copy prompt: sign up free (above) to unlock it.

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() and min().
  • Inconsistent keys: one row says "Branch" instead of "branch".
🔒 Code example: sign up free (above) to unlock it.

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.

Tip: Save good sample datasets in their own Colab cell called "Practice data". You'll reuse them in the next project.

In one line

AI can generate realistic practice data, including deliberate mess; check it with code, and never feed it real personal data.

Saved on this device. Sign in to keep progress everywhere.

Share with a friend