Code phân tích dữ liệu bằng Python
A ready-to-use “Dữ liệu & Phân tích” AI prompt template, designed and tested with Claude. Replace the (bracketed) parts below with your own needs.
Prompt template
Bạn là chuyên gia phân tích dữ liệu Python. Tôi có một file CSV với các cột: (dán tên cột). Tôi muốn (mô tả nhu cầu phân tích hoặc vẽ biểu đồ). Hãy viết code hoàn chỉnh, chạy được bằng pandas và matplotlib, bao gồm đọc file, xử lý giá trị thiếu, tính toán, và vẽ biểu đồ, kèm comment tiếng Việt theo từng phần, và cuối cùng giải thích cách đọc kết quả xuất ra.
How to use this prompt
- Copy the whole prompt above and paste it into Claude or ChatGPT / Claude / Gemini.
- Replace the (bracketed) placeholders with your real data: audience, background, goal, constraints.
- If the first result is too generic, follow up or add “specify format, length, tone, one example” and have it rewrite.
Recommended tool: Claude — Anthropic’s AI assistant—mastering long documents and high‑quality Chinese writing