# Tool: Tạo Prompt Phân Tích Dữ Liệu Python

> Xây dựng prompt khoa học dữ liệu chuẩn cấp sản xuất với Bộ sinh Prompt Kỹ thuật Dữ liệu BOP Prompts. Được thiết kế riêng cho Data Scientist, Nhà phân tích dữ liệu và Kỹ sư Machine Learning, công cụ này tạo các chỉ thị toàn diện cho phân tích khám phá dữ liệu (EDA), tự động làm sạch tập dữ liệu, xử lý giá trị thiếu, kiểm định giả thuyết thống kê và xây dựng pipeline vector hóa bằng Pandas, Polars, PySpark và Scikit-Learn.

**Category**: prompts-code-design | **Target AI Models**: Gemini 3.1 Pro, GPT-4o, Claude 3.5 Sonnet

## Domain Parameters:
- `framework` (select): Framework xử lý dữ liệu (Default: "Pandas")
- `outputFormat` (select): Cấu trúc mã nguồn (Default: "Jupyter Notebook")
- `includeCharts` (toggle): Mã nguồn trực quan hóa biểu đồ (Default: "true")
- `handleMissingData` (select): Chiến lược xử lý dữ liệu thiếu (Default: "Auto-Imputation")

## Master Prompt Engineering Architecture (5 Pillars):
1. **Role & Persona**: Domain expert framing
2. **Task & Deliverable**: Primary objective & constraints
3. **Context & Parameters**: Technical specs & camera/stack parameters
4. **Negative Constraints**: Forbidden artifacts & bad practices
5. **Output Spec**: Section formatting & XML/Markdown structure

## Programmatic API Execution:
```http
POST /api/generate-prompt
Content-Type: application/json

{
  "toolSlug": "generate-prompt-for-python-data-analysis",
  "rawPrompt": "Your raw concept here",
  "thinkingLevel": "HIGH"
}
```
