見出し(1行目)の扱い方
この記事のポイント
- 見出しがあるか確認する
- チェックを合わせる
- 結果を確認する
CSVを結合・分割する では、見出しがある場合、結合しても見出しが重なりません。
手順
- CSVの1行目が見出しか確認する
- 「1行目は見出し」のチェックを合わせる
- 保存したCSVを開いて、確認する
見出しがないCSVは、チェックを外してください。
CSVを結合・分割・列抜き出しを使う(無料)
あわせて使えるツール
- CSVとJSONを相互変換する:CSVとJSONを、すぐに相互変換します。
- CSVをExcelファイルにする:CSVを、Excelで開ける .xlsx ファイルにします。
- 文字コードを変換する(文字化けを直す):Shift_JIS・UTF-8・EUC-JPなどの文字コードを変換し、文字化けを直します。
同じツールの、ほかの解説
How the Header Row Is Handled
Key points
- Check whether there is a header
- Set the checkbox to match
- Check the result
In Merge and Split CSV Files, with a header, merging does not repeat it.
Steps
- Check whether row 1 is a header
- Set the "first row is a header" checkbox
- Open the saved CSV and check
For a CSV without a header, untick the box.
Use "Merge, Split and Pick Columns from CSV" (free)
Tools that go well with this
- Convert CSV and JSON: Convert between CSV and JSON instantly.
- Convert CSV to Excel (.xlsx): Convert a CSV to an Excel (.xlsx) file.
- Convert Text Encoding (Fix Garbled Text): Convert text files between Shift_JIS, UTF-8, EUC-JP and more to fix garbled text.