CSVをJSONに変換する
CSV データを JSON 形式に変換します。
以下のフォームにCSVファイルをアップロードし、入れ替えたい列を指定するだけで、ツールは出力ファイル内で指定された列の位置を自動的に変更します。ツールのオプションでは、入れ替えたい列の位置や列名を指定できるほか、不完全なデータを修正したり、空のレコードやコメントアウトされたレコードを削除したりすることもできます。
このツールは、CSVデータの列の位置を入れ替えることでデータを再構成します。列を入れ替えることで、頻繁に使用するデータをまとめて配置したり、先頭に配置したりすることで、データの比較や編集が容易になり、CSVファイルの読みやすさが向上します。例えば、最初の列を最後の列と入れ替えたり、2番目の列を3番目の列と入れ替えたりすることができます。列の位置に基づいて列を入れ替えるには、
Fill incomplete CSV data with empty symbols or a custom symbol.
In this example, we use our CSV column swapping tool to bring the most important information to the first column. As we are planning to go on vacation soon, in the input of the tool, we load data about national parks that include their names and locations. To decide, which is the closest park to us, we need to see the parks location first, therefore, we swap the first and second data columns so that the "location" column is at the beginning of the CSV data.
Fill incomplete CSV data with empty symbols or a custom symbol.
In this example, a lab intern made a mistake and created a corrupted CSV file with mixed-up columns and missing data. To fix the file, we swap the columns based on the headers "Vitamin" and "Function" so that the "Vitamin" column becomes the first in the output data. We also fill the incomplete CSV data by adding a custom asterisk "*" symbol in place of missing values.
Header of the first column you want to swap.
Header of the second column you want to swap.
Fill incomplete CSV data with empty symbols or a custom symbol.
In this example, we change the order of columns in a CSV dataset to have the columns essential for analysis adjacent to each other. We match the "ScreenSize" column by its name and place it in the second-to-last position "-2". This groups the "ScreenSize" and "Price" columns together, allowing us to easily compare and choose the phone we want to buy. We also remove empty lines and specify that lines starting with the "#" symbol are comments and should be left as is.
Header of the first column you want to swap.
Fill incomplete CSV data with empty symbols or a custom symbol.
CSV データを JSON 形式に変換します。
CSV データを XML 形式に変換します。
CSV の行を列に変換します。
CSV データを TSV 形式に変換します。
CSV ファイルを YAML ファイルにすばやく変換します。
CSVファイルの区切り文字を変更する
CSV 内で値が欠落している行と列をすばやく見つけます。
CSV ファイルをすばやく転置します。
CSV ファイル内の任意の場所に 1 つ以上の新しい列をすばやく挿入します。
TSVをJSON形式に変換する