Is lesson ke end tak aapke paas data analysis ka ek workbench hoga (Google Colab ya coding agent), usmein ek anonymised ya fake practice file hogi, aur aapka pehla check kiya hua number: row count.
Aapko chahiye: Excel ya Google Sheets wala laptop, aur ya toh ek personal Google account (Colab ke liye) ya pehle se set coding agent (Claude Code, Codex ya OpenCode guide dekho) · Time: 8 minute
Is course mein AI chhote Python programs likhta hai jo aapka data padhte hain. Inmein pandas use hota hai (tables ke liye free Python tool, samjho grid ke bina Excel). Code aap kabhi nahi likhoge. Aap request likhoge, output padhoge, aur numbers check karoge.
Us code ko chalne ke liye ek jagah chahiye. Ek chuno:
- Google Colab Google ki free website hai. Aap ek notebook kholte ho (yeh cells naam ke blocks ka page hai; har cell mein code hota hai aur uska result theek uske neeche aata hai). Code Google ke computer par chalta hai, toh laptop par kuch install nahi hota. Colab mein AI built-in hai: notebook ke neeche Gemini spark icon dabao, chat khul jaayegi. Us chat mein CSV ya Excel file upload kar sakte ho, aur uska Data Science Agent analysis ka plan banata hai, aapko dikhata hai, aur aapki haan ke baad hi chalata hai.
- Folder mein coding agent (Claude Code, Codex, OpenCode) aapke laptop par, ek project folder ke andar chalta hai. Files usi folder mein rehti hain, aur agent Python wahin likhta aur chalata hai. Yeh aap AI agent se CSV analyse karo mein ek baar kar chuke ho; setup wahi hai.
Colab jaldi shuru hota hai. Baar baar wale kaam aur bahut files ke liye agent behtar hai. Checking dono mein same hai. Kyun?Dono workbench mein asli code har row par hisaab lagata hai. Chat window mein rows paste karne se yahi bada farak hai, wahan AI sirf ek sahi-dikhne wala number guess karta hai.
Is course ka har prompt dono par chalta hai. Colab mein Gemini chat mein likho; agent ho toh agent mein.
Colab chuna hai toh pehle Google ke apne Colab FAQ se yeh teen points padh lo:
- Upload ki gayi files temporary hain. Aapka code ek virtual machine par chalta hai (ek computer jo Google thodi der ke liye deta hai). Aap kuch der idle raho toh Google use delete kar deta hai, aur uski ek maximum life bhi hai. Notebook Google Drive mein save hota hai, par machine par upload ki gayi files nahi. Tab band karne se pehle har result file (saaf CSV, charts, logs) download kar lo.
- AI prompts log padh sakte hain. Colab ke AI features use karte waqt Google aapke prompts, related code aur output collect karta hai. FAQ kehta hai human reviewers inhe padh sakte hain, data 18 mahine tak rakha ja sakta hai, aur confidential ya personal jaankari daalni hi nahi chahiye.
- AI sabko nahi milta. Colab ke AI features ke liye Google account 18+ ka hona chahiye aur supported desh mein. Office ke Google Workspace account par Colab chalega ya nahi, yeh aapka admin decide karta hai.
Dhyaan doOffice ka data apne personal Google account mein daalna company ki data policy tod sakta hai, chahe data anonymised ho. Pakka na pata ho toh pehle pooch lo, aur tab tak step 4 wali fake file par practice karo.
Kyun?Colab ke zyaadatar jhatke inhi teen se aate hain: lunch ke baad saaf file gayab, prompt mein client list type ho gayi, ya office account par Colab khulta hi nahi.
Dono workbench mein AI jo padhta hai, woh server par model ke paas jaata hai. Isliye upload karne ya agent ke folder mein file daalne se pehle Excel mein ek safe copy banao:
- Jo columns analysis mein nahi chahiye, delete karo: customer aur employee ke naam, phone numbers, emails, address, PAN, Aadhaar, bank details, salary.
- Naam ki jagah IDs. Unique naam ek nayi sheet par daalo (Data → Remove Duplicates), har ek ko
EMP001yaCUST-0412jaisa ID do, XLOOKUP se ID data mein laao, phir naam wala column delete karo. - Identifiers chhote karo. GSTIN (15 character ka GST number) ek business ki pehchaan hai. Sirf state chahiye toh uske pehle do digit (state code:
24Gujarat,27Maharashtra) naye column mein rakho aur GSTIN delete karo. - Key file offline rakho. Jo sheet
EMP001ko asli naam se jodti hai, woh laptop par aise folder mein rahe jahan AI kabhi na pahunche. Iski zaroorat sirf end mein padegi, kisi finding par action lene ke liye.
Abhi karo Upload se pehle har line tick karo
Kyun?Analysis ko lagbhag kabhi nahi jaanna hota ki kaun. "Gujarat ke CUST-0412 ne Rs 1,24,500 ka maal liya" se total wahi aata hai jo asli naam se, aur koi private cheez laptop se bahar nahi jaati.
Is course ki sabse kaam ki trick: AI se ek realistic, gandi file banwao, jismein problems jaan-boojh kar chhupi hon. Isse practice mein privacy ka zero risk hai, aur lesson 5 mein aap saabit karoge ki aapke checks har planted problem pakad lete hain.
Iske liye alag session shuru karo (naya Colab notebook, ya
practice-makernaam ke naye folder mein agent):Prompt · ise apne AI agent mein paste karoWrite and run a Python script that creates a FAKE sales file for practice. Use a fixed random seed so the file is the same every time. File: practice_sales.csv, 600 invoices from 01-07-2026 to 30-09-2026, for a lighting products distributor based in Gujarat. Columns: Invoice Date (dd-mm-yyyy), Invoice No (INV-10001...), Customer ID (CUST-0001...), State, Branch (Ahmedabad, Surat, Pune, Chennai), Product, Taxable Value, CGST, SGST, IGST, Invoice Total. Rules for the clean data: Gujarat customers get CGST 9% + SGST 9%; other states get IGST 18%. Amounts in rupees. Then plant these problems and add exactly 8 exact duplicate rows (608 rows in total): - State spellings: "Gujrat" 5 times, "Orissa" 4 times, "TN" 6 times, " gujarat " with spaces 3 times, and 3 blank states - 14 Taxable Value cells stored as text: "Rs 1,24,500", "₹ 2,300", "1,200/-" styles, and 2 cells that say "NIL" - 2 Invoice Dates written as yyyy-mm-dd instead of dd-mm-yyyy - 1 invoice whose Taxable Value is 100 times too big - 1 non-Gujarat row that has both CGST and IGST filled Save a second file, answer_key.txt, listing every planted problem with its Invoice No. Use only invented IDs. Do not use any real person or company.
Dono files download karo.
answer_key.txtalag folder mein rakho aur lesson 5 tak mat kholna. Aage ke steps meinpractice_sales.csvko naye notebook ya naye agent folder mein use karo, taaki file analyse karne wale AI ne answer key kabhi dekhi hi na ho.Kyun?Jo check aapne kabhi galti pakadte nahi dekha, woh sirf ek ummeed hai. Planted problems "shayad mere checks chalte hain" ko "mere checks ne 8 mein se 8 duplicates pakde" mein badal dete hain.
Pehli request kabhi analyse karo nahi hoti. Woh hoti hai "batao kya hai, aur kuch mat badlo". Ise data profile kehte hain.
practice_sales.csv(ya apni anonymised file) upload karo aur bhejo:Prompt · ise apne AI agent mein paste karoLoad [practice_sales.csv]. Do not change, clean or analyse anything yet. Read every column as text, so nothing is converted silently. Print: 1. The number of rows and columns, and the column names. 2. For each column: blank cells, number of unique values, and 3 example values. 3. Every unique value in State, with its count. 4. Every value in the amount columns that contains anything other than digits, commas and one dot, with counts. 5. How many Invoice Dates look like dd-mm-yyyy and how many do not. 6. How many rows are exact duplicates of another row. End with a short list of problems you see. Do not fix them.
Kuch aisa dikhega (yeh agent session hai; Colab ki chat code cell ke neeche yahi numbers dikhati hai):
Ab pehla number khud check karo. Wahi file Excel mein kholo, column A ke header par click karo, aur neeche status bar mein Count padho (yeh header bhi ginta hai, toh 1 ghatao). Ya kisi khaali cell mein
=COUNTA(A:A)-1likho.Kyun?Row count aapka pehla control number hai: ek aisa number jo aap bharose wale tool se pakka jaante ho, aur aage ka har step usse milna chahiye. AI aur Excel ka row count hi alag hai, toh uske baad kuch bhi bharose layak nahi.
- Workbench chuno: Colab (browser, kuch install nahi, uploads temporary) ya folder mein coding agent (files aapke paas).
- Colab ke apne rules padho: jaane se pehle results download karo, confidential data AI prompts se bahar rakho, aur company policy check karo.
- Pehle anonymise: personal columns delete, naam ki jagah IDs, key file offline.
- Planted problems wali fake file par practice karo, aur uski answer key lesson 5 tak band rakho.
- Aage: Ginne se pehle saaf karo, cleaning log ke saath jo har gayi hui row ka hisaab rakhta hai.
Free account banao taaki progress save ho aur har lesson khule. Free account banao