📊

Tạo dữ liệu giả (Dummy Data)

Tạo hàng nghìn dòng dữ liệu mẫu (Tên người Việt, SĐT, Địa chỉ VN) để test phần mềm.

Excel ⭐ Beginner ⏱️ 3 phút

😫 Vấn đề (The Pain Point)

Bạn cần test tính năng mới của phần mềm, cần 1000 khách hàng để chạy thử. Ngồi bịa tên “Nguyễn Văn A”, “Trần Thị B”… được 10 người là bí.

🚀 Giải pháp Agentic (The Solution)

Tool dùng thư viện Faker (có hỗ trợ tiếng Việt) để sinh dữ liệu ngẫu nhiên nhưng cực kỳ giống thật.

Tính năng:

  • Vietnam Locale: Sinh tên “Phan Văn Khải”, địa chỉ “Số 10 Hai Bà Trưng, HN”… chứ không phải tên tây “John Smith”.
  • Custom Fields: Tùy chọn sinh thêm Email, SĐT, Công ty, Chức vụ.

Data Faker Screenshot

🤖 Engineering Prompt (Copy & Paste)

**Role:** Python QA Developer

**Task:** Create a "Vietnamese Dummy Data Generator".

**Requirements:**
1.  **Tech Stack:** Python, `tkinter`, `pandas`, `Faker`.
2.  **GUI:**
    *   Number of Rows (e.g., 1000).
    *   **Checkboxes for Fields:**
        *   Full Name (Vietnamese)
        *   Phone Number
        *   Email
        *   Address (Vietnamese)
        *   Company
    *   "Generate Excel" button.
3.  **Logic:**
    *   Initialize `Faker('vi_VN')`.
    *   Loop N times.
    *   Generate dict for each row.
    *   Create DataFrame -> Save to Excel.
4.  **Deliverables:**
    *   `fake_data_gen.py`
    *   `run.bat`
    *   `requirements.txt` (`Faker`, `pandas`)

**Context:** Developers and Testers needing sample datasets.

🧠 Giải mã Prompt

  • Locale vi_VN: Faker hỗ trợ bản địa hóa rất tốt. Chỉ cần tham số này, dữ liệu sinh ra sẽ thuần Việt 100%.

🛠️ Hướng dẫn

  1. Copy Prompt -> Paste -> Chạy.
  2. Nhập số lượng 1000 -> Generate.

Workflows liên quan

Khám phá danh mục khác

📬

Get Started with Agentic Working

Subscribe to receive updates from AgenticWorking.io

📖 Free eBook Guide 📦 7 Ready-to-use Scripts 🔔 Weekly Tips

No spam, unsubscribe anytime. Join 1,000+ subscribers.