> ## 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 に分析や変換を続けてもらえます。

人の確認と 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}
Open yc_companies.csv, normalize the Industry column, merge similar categories,
and save the cleaned version as outputs/yc_companies_cleaned.csv.
```

Happycapy は次の作業を手伝えます。

* 不統一な値のクリーニング
* 行のフィルタリング
* 列名の変更や列の追加
* テキストから構造化フィールドを抽出
* 新しい値の計算
* CSV ファイルの結合や比較
* 表をレポートとして要約

## 手動編集と Agent 編集を組み合わせる

編集可能なスプレッドシートは、2 つの使い方を組み合わせると効果的です。

1. Project Explorer から CSV を開き、データを確認します。
2. 明らかなセルは自分で修正します。
3. 残りのクリーニングや変換を Happycapy に頼みます。
4. 更新されたファイルを確認します。
5. 最終的な表からレポート、グラフ、エクスポートを作成してもらいます。

<Tip>
  重要な表では、元ファイルを上書きせず、クリーニング済みコピーとして保存するよう Happycapy に頼んでください。
</Tip>

## 関連

* [Files](/ja/features/files): アップロード、出力、Project ファイルを探す
* [Projects](/ja/features/projects): 関連する sessions とファイルをまとめる
* [Credits & Usage](/ja/getting-started/credits): credits の使用量を理解する
