Loading...
Loading...
Compare original and translation side by side
visualize_csv.pyundefinedvisualize_csv.pyundefined
**Relationship Analysis:**
```bash
**关系分析:**
```bash
**Time Series:**
```bash
**时间序列:**
```bash
**Categorical Data:**
```bash
**分类数据:**
```bash
**Output Formats:**
Specify output file with desired format extension:
```bash
**输出格式:**
通过指定带所需格式扩展名的输出文件来选择格式:
```bashundefinedundefineddata_profile.pypython3 scripts/data_profile.py data.csvpython3 scripts/data_profile.py data.csv -f html -o report.htmlpython3 scripts/data_profile.py data.csv -f json -o profile.jsondata_profile.pypython3 scripts/data_profile.py data.csvpython3 scripts/data_profile.py data.csv -f html -o report.htmlpython3 scripts/data_profile.py data.csv -f json -o profile.jsoncreate_dashboard.pypython3 scripts/create_dashboard.py data.csvpython3 scripts/create_dashboard.py data.csv -o my_dashboard.htmlpython3 scripts/create_dashboard.py data.csv --max-plots 9python3 scripts/create_dashboard.py data.csv --config config.json{
"title": "Sales Analysis Dashboard",
"plots": [
{"type": "histogram", "column": "revenue"},
{"type": "box", "column": "revenue", "group_by": "region"},
{"type": "scatter", "column": "advertising", "group_by": "revenue"},
{"type": "bar", "column": "product_category"},
{"type": "correlation"}
]
}histogramboxscatterbarcorrelationcreate_dashboard.pypython3 scripts/create_dashboard.py data.csvpython3 scripts/create_dashboard.py data.csv -o my_dashboard.htmlpython3 scripts/create_dashboard.py data.csv --max-plots 9python3 scripts/create_dashboard.py data.csv --config config.json{
"title": "销售分析仪表板",
"plots": [
{"type": "histogram", "column": "revenue"},
{"type": "box", "column": "revenue", "group_by": "region"},
{"type": "scatter", "column": "advertising", "group_by": "revenue"},
{"type": "bar", "column": "product_category"},
{"type": "correlation"}
]
}histogramboxscatterbarcorrelationUser provides CSV file
│
├─ "Profile this data" / "Analyze this data" / Unfamiliar dataset
│ └─> Run data_profile.py first
│ Then offer visualization options based on findings
│
├─ "Create dashboard" / "Overview of the data" / Multiple visualizations needed
│ ├─ User knows exact plots wanted
│ │ └─> Create JSON config → run create_dashboard.py with config
│ └─ User wants automatic dashboard
│ └─> Run create_dashboard.py (auto mode)
│
└─ Specific visualization requested ("histogram", "scatter plot", etc.)
└─> Use visualize_csv.py with appropriate flag用户提供CSV文件
│
├─ "剖析这份数据" / "分析这份数据" / 不熟悉的数据集
│ └─> 先运行data_profile.py
│ 然后根据结果提供可视化选项
│
├─ "创建仪表板" / "数据概览" / 需要多个可视化图表
│ ├─ 用户明确知道需要哪些图表
│ │ └─> 创建JSON配置文件 → 使用配置文件运行create_dashboard.py
│ └─ 用户需要自动生成的仪表板
│ └─> 运行create_dashboard.py(自动模式)
│
└─ 用户请求特定可视化图表("直方图"、"散点图"等)
└─> 使用visualize_csv.py并添加相应参数python3 scripts/data_profile.py data.csvpython3 scripts/data_profile.py data.csvreferences/visualization_guide.mdreferences/visualization_guide.mdpip install pandas plotly numpypip install kaleidopip install pandas plotly numpypip install kaleidoundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedpip list | grep plotlypip install kaleidopip list | grep plotlypip install kaleidovisualize_csv.pydata_profile.pycreate_dashboard.pyvisualize_csv.pydata_profile.pycreate_dashboard.pyvisualization_guide.mdvisualization_guide.md