> ## Documentation Index
> Fetch the complete documentation index at: https://docs.happycapy.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# 可编辑表格

> 把 CSV 打开成可编辑表格，并和 Happycapy 一起处理数据

可编辑表格让你在 Project 右侧 Explorer 里把 CSV 文件直接打开成表格视图。你可以检查行、搜索结构化数据、直接修改单元格，也可以在同一个对话里继续让 Happycapy 分析或处理这个文件。

当一个表格既需要你人工 review，又需要 agent 帮忙时，这个功能很有用：清洗行、修正值、重命名列、补充计算字段、总结数据，或基于修改后的文件生成报告。

## 从 Explorer 打开 CSV

在 Project 里打开 **Explorer**，选中支持的 CSV 文件。Happycapy 会在右侧把文件打开成可交互表格，而不是普通文本预览。

<div className="hc-workspace-explorer">
  <div className="hc-workspace-shell" style={{ minHeight: '430px' }}>
    <div className="hc-workspace-sidebar" aria-label="Project file browser">
      <div style={{ padding: '14px 16px', borderBottom: '1px solid rgba(46, 41, 41, 0.1)' }}>
        <span style={{ display: 'inline-flex', alignItems: 'center', gap: '8px', padding: '8px 12px', borderRadius: '8px', background: '#eeece9', color: '#2e2929', fontWeight: 650 }}>
          <span className="hc-lucide hc-icon-folder" style={{ color: '#6f6a64', width: '18px', height: '18px' }} />

          Explorer
        </span>
      </div>

      <div style={{ padding: '16px' }}>
        <div style={{ marginBottom: '12px', color: '#a09a93', fontSize: '0.78rem', fontWeight: 750, letterSpacing: '0.08em', textTransform: 'uppercase' }}>File Tree</div>

        <div style={{ display: 'grid', gap: '4px', color: '#6e6861', fontSize: '0.95rem' }} role="tree" aria-label="Project workspace files">
          <div style={{ display: 'flex', alignItems: 'center', gap: '8px', padding: '6px 8px' }} role="treeitem" aria-expanded="true">
            <span style={{ width: '14px', textAlign: 'center', color: '#8a8178' }}>⌄</span>
            <span>memory</span>
          </div>

          <div style={{ display: 'flex', alignItems: 'center', gap: '8px', padding: '6px 8px' }} role="treeitem" aria-expanded="false">
            <span style={{ width: '14px', textAlign: 'center', color: '#8a8178' }}>›</span>
            <span>outputs</span>
          </div>

          <div style={{ display: 'flex', alignItems: 'center', gap: '8px', padding: '6px 8px' }} role="treeitem" aria-expanded="true">
            <span style={{ width: '14px', textAlign: 'center', color: '#8a8178' }}>›</span>
            <span>uploads</span>
          </div>

          <div style={{ display: 'flex', alignItems: 'center', gap: '8px', padding: '7px 8px', borderRadius: '8px', background: '#f1efec', color: '#2e2929', fontWeight: 650 }} role="treeitem" aria-selected="true">
            <span className="hc-lucide hc-icon-file-text" style={{ color: '#6f6a64', width: '18px', height: '18px' }} />

            <span>yc\_companies.csv</span>
          </div>
        </div>
      </div>
    </div>

    <div className="hc-workspace-detail">
      <div style={{ height: '100%', overflow: 'auto' }}>
        <table aria-label="Editable CSV table preview" style={{ width: '100%', minWidth: '720px', borderCollapse: 'separate', borderSpacing: 0, tableLayout: 'fixed', color: '#4d4640', fontSize: '0.88rem' }}>
          <colgroup>
            <col style={{ width: '22%' }} />

            <col style={{ width: '20%' }} />

            <col style={{ width: '36%' }} />

            <col style={{ width: '22%' }} />
          </colgroup>

          <thead>
            <tr style={{ color: '#6f6760', fontWeight: 700 }}>
              <th scope="col" style={{ padding: '0.75rem 0.85rem', textAlign: 'left', borderBottom: '1px solid rgba(45, 36, 27, 0.12)', background: '#fffdf9' }}>Name</th>
              <th scope="col" style={{ padding: '0.75rem 0.85rem', textAlign: 'left', borderBottom: '1px solid rgba(45, 36, 27, 0.12)', background: '#fffdf9' }}>Website</th>
              <th scope="col" style={{ padding: '0.75rem 0.85rem', textAlign: 'left', borderBottom: '1px solid rgba(45, 36, 27, 0.12)', background: '#fffdf9' }}>One-liner</th>
              <th scope="col" style={{ padding: '0.75rem 0.85rem', textAlign: 'left', borderBottom: '1px solid rgba(45, 36, 27, 0.12)', background: '#fffdf9' }}>Industry</th>
            </tr>
          </thead>

          <tbody>
            <tr>
              <td contentEditable suppressContentEditableWarning tabIndex={0} style={{ padding: '0.7rem 0.85rem', borderBottom: '1px solid rgba(45, 36, 27, 0.08)', whiteSpace: 'nowrap', overflow: 'hidden', textOverflow: 'ellipsis', cursor: 'text' }}>Ablinitio Bio</td>
              <td contentEditable suppressContentEditableWarning tabIndex={0} style={{ padding: '0.7rem 0.85rem', borderBottom: '1px solid rgba(45, 36, 27, 0.08)', whiteSpace: 'nowrap', overflow: 'hidden', textOverflow: 'ellipsis', cursor: 'text' }}>abinitio-bio.com</td>
              <td contentEditable suppressContentEditableWarning tabIndex={0} style={{ padding: '0.7rem 0.85rem', borderBottom: '1px solid rgba(45, 36, 27, 0.08)', whiteSpace: 'nowrap', overflow: 'hidden', textOverflow: 'ellipsis', cursor: 'text' }}>Intelligence layer for drug manufacturing</td>
              <td contentEditable suppressContentEditableWarning tabIndex={0} style={{ padding: '0.7rem 0.85rem', borderBottom: '1px solid rgba(45, 36, 27, 0.08)', whiteSpace: 'nowrap', overflow: 'hidden', textOverflow: 'ellipsis', cursor: 'text' }}>Healthcare</td>
            </tr>

            <tr>
              <td contentEditable suppressContentEditableWarning tabIndex={0} style={{ padding: '0.7rem 0.85rem', borderBottom: '1px solid rgba(45, 36, 27, 0.08)', whiteSpace: 'nowrap', overflow: 'hidden', textOverflow: 'ellipsis', cursor: 'text' }}>Adialante</td>
              <td contentEditable suppressContentEditableWarning tabIndex={0} style={{ padding: '0.7rem 0.85rem', borderBottom: '1px solid rgba(45, 36, 27, 0.08)', whiteSpace: 'nowrap', overflow: 'hidden', textOverflow: 'ellipsis', cursor: 'text' }}>adialante.com</td>

              <td contentEditable suppressContentEditableWarning tabIndex={0} style={{ padding: '0.7rem 0.85rem', borderBottom: '1px solid rgba(45, 36, 27, 0.08)', whiteSpace: 'nowrap', overflow: 'hidden', textOverflow: 'ellipsis', cursor: 'text', outline: '2px solid #4d4640', outlineOffset: '-4px', borderRadius: '7px', background: '#fffefa' }}>
                Cancer screening without barriers<span aria-hidden="true" style={{ display: 'inline-block', width: '1px', height: '1em', marginLeft: '3px', background: '#2E2929', verticalAlign: '-0.12em' }} />
              </td>

              <td contentEditable suppressContentEditableWarning tabIndex={0} style={{ padding: '0.7rem 0.85rem', borderBottom: '1px solid rgba(45, 36, 27, 0.08)', whiteSpace: 'nowrap', overflow: 'hidden', textOverflow: 'ellipsis', cursor: 'text' }}>Healthcare</td>
            </tr>

            <tr>
              <td contentEditable suppressContentEditableWarning tabIndex={0} style={{ padding: '0.7rem 0.85rem', borderBottom: '1px solid rgba(45, 36, 27, 0.08)', whiteSpace: 'nowrap', overflow: 'hidden', textOverflow: 'ellipsis', cursor: 'text' }}>Akkari</td>
              <td contentEditable suppressContentEditableWarning tabIndex={0} style={{ padding: '0.7rem 0.85rem', borderBottom: '1px solid rgba(45, 36, 27, 0.08)', whiteSpace: 'nowrap', overflow: 'hidden', textOverflow: 'ellipsis', cursor: 'text' }}>akkari.io</td>
              <td contentEditable suppressContentEditableWarning tabIndex={0} style={{ padding: '0.7rem 0.85rem', borderBottom: '1px solid rgba(45, 36, 27, 0.08)', whiteSpace: 'nowrap', overflow: 'hidden', textOverflow: 'ellipsis', cursor: 'text' }}>Autonomous customer operations</td>
              <td contentEditable suppressContentEditableWarning tabIndex={0} style={{ padding: '0.7rem 0.85rem', borderBottom: '1px solid rgba(45, 36, 27, 0.08)', whiteSpace: 'nowrap', overflow: 'hidden', textOverflow: 'ellipsis', cursor: 'text' }}>B2B</td>
            </tr>
          </tbody>
        </table>
      </div>
    </div>
  </div>
</div>

## 你可以做什么

你可以：

* 点击单元格并直接修改内容
* 在表格中搜索
* 横向和纵向浏览行列
* 查看行数和列数
* 一边打开文件，一边让 Happycapy 分析或转换它

## 手动编辑

在 Project 里打开 **Explorer**，选中 CSV 文件，然后在右侧表格里直接编辑。选中单元格、修改值，就可以继续检查数据，不需要离开当前 Project 对话。

当你已经知道要改什么时，手动编辑很直接：

* 修正公司名
* 统一分类
* 调整日期或状态
* 修改一句简介
* 检查某一行，再让 Happycapy 继续处理

## 让 Happycapy 编辑

你也可以让 Happycapy 替你修改表格。描述你想要的转换，必要时说清楚文件名。

```text theme={null}
打开 yc_companies.csv，统一 Industry 列，把相似分类合并，
并把清洗后的版本保存为 outputs/yc_companies_cleaned.csv。
```

Happycapy 可以帮你：

* 清洗不一致的值
* 筛选行
* 重命名或新增列
* 从文本中提取结构化字段
* 计算新的字段
* 合并或对比 CSV 文件
* 把表格总结成报告

## 结合人工编辑和 Agent 编辑

可编辑表格最适合两种方式一起用。

1. 从 Project Explorer 打开 CSV，先检查数据。
2. 自己修改明显错误的单元格。
3. 让 Happycapy 清洗或转换剩余内容。
4. Review 更新后的文件。
5. 让 Happycapy 基于最终表格生成报告、图表或导出文件。

<Tip>
  如果表格很重要，建议让 Happycapy 另存一份清洗后的副本，而不是覆盖原文件。
</Tip>

## 相关资源

* [Files](/zh/features/files)：查找上传文件、输出文件和 Project 文件
* [Projects](/zh/features/projects)：把相关 sessions 和文件放在一起
* [Dynamic Workflows](/zh/features/dynamic-workflows)：处理更大的多阶段数据任务
