Diysb Tools

查找不完整的 CSV 记录

只需将您的 CSV 文件上传到下方表单,此工具就会自动检查所有行或列是否均缺失值。在工具选项中,您可以调整输入文件格式(指定分隔符、引号和注释符)。此外,您还可以启用空值检查、跳过空行,以及设置输出中错误消息的数量限制。

CSV 工具

什么是 查找不完整的 CSV 记录?

只需将您的 CSV 文件上传到下方表单,此工具就会自动检查所有行或列是否均缺失值。在工具选项中,您可以调整输入文件格式(指定分隔符、引号和注释符)。此外,您还可以启用空值检查、跳过空行,以及设置输出中错误消息的数量限制。

输入 CSV
CSV 状态
工具选项
CSV 输入选项
输入用于分隔 CSV 输入文件中列的字符。
输入用于引用 CSV 输入字段的引号字符。
输入表示注释行开始的字符。以此符号开头的行将被跳过。
检查选项
从 CSV 输入文件中删除空行。
显示有关 CSV 字段为空的消息(这些不是缺失的字段,而是不包含任何内容的字段)。
查找不完整的 CSV 记录 示例

CSV Completeness Check

In this example, we upload a simple CSV file containing names, surnames, and dates of birth. The tool analyzes the data and displays a green "Complete CSV" badge as it finds that there are no missing values or empty records. To say it differently, this check confirms that all rows and columns have the expected number of values in the data and the file is ready for use in any software that imports CSV files without hiccups.

name,surname,dob John,Warner,1990-05-15 Lily,Meadows,1985-12-20 Jaime,Crane,1993-01-23 Jeri,Carroll,2000-11-07 Simon,Harper,2013-04-10
name,surname,dob John,Warner,1990-05-15 Lily,Meadows,1985-12-20 Jaime,Crane,1993-01-23 Jeri,Carroll,2000-11-07 Simon,Harper,2013-04-10
The Csv input is complete.
The Csv input is complete.
CSV 输入选项
输入用于分隔 CSV 输入文件中列的字符。
输入用于引用 CSV 输入字段的引号字符。
输入表示注释行开始的字符。以此符号开头的行将被跳过。
检查选项
从 CSV 输入文件中删除空行。
显示有关 CSV 字段为空的消息(这些不是缺失的字段,而是不包含任何内容的字段)。

Find Missing Fields in Broken CSV

In this example, we find the missing fields in a CSV file containing city names, time zones, and standard time information. As a result of the analysis, we see a red badge in the output and a text list of missing values in the dataset. The file has missing values on two rows: row 3 lacks standard time data (column 3), and row 5 lacks time zone and standard time data (columns 2 and 3).

City,Time Zone,Standard Time London,UTC+00:00,GMT Chicago,UTC-06:00 Tokyo,UTC+09:00,JST Sydney Berlin,UTC+01:00,CET
City,Time Zone,Standard Time London,UTC+00:00,GMT Chicago,UTC-06:00 Tokyo,UTC+09:00,JST Sydney Berlin,UTC+01:00,CET
Title: Found missing column(s) on line 3 Message: Line 3 has 1 missing column(s). Title: Found missing column(s) on line 5 Message: Line 5 has 2 missing column(s).
Title: Found missing column(s) on line 3 Message: Line 3 has 1 missing column(s). Title: Found missing column(s) on line 5 Message: Line 5 has 2 missing column(s).
CSV 输入选项
输入用于分隔 CSV 输入文件中列的字符。
输入用于引用 CSV 输入字段的引号字符。
输入表示注释行开始的字符。以此符号开头的行将被跳过。
检查选项
从 CSV 输入文件中删除空行。
显示有关 CSV 字段为空的消息(这些不是缺失的字段,而是不包含任何内容的字段)。
设置输出中消息数量的限制。

Detect Empty and Missing Values

This example checks a data file containing information astronomical data about constellations. Not only does it find incomplete records but also detects all empty fields by activating the "Find Empty Values" checkbox. The empty fields are those that have zero length or contain just whitespace. Such fields contain no information. Additionally, since this file uses semicolons instead of commas for separators, we specify the ";" symbol in the options to make the program work with SSV (Semicolon-Separated Values) data. As a result, the program identifies three empty fields and one row with missing data.

Abbreviation;Constellation;Main stars Cas;Cassiopeia;5 Cep;Cepheus;7 ;Andromeda;16 Cyg;; Del;Delphinus
Abbreviation;Constellation;Main stars Cas;Cassiopeia;5 Cep;Cepheus;7 ;Andromeda;16 Cyg;; Del;Delphinus
Title: Found missing values on line 4 Message: Empty values on line 4: column 1. Title: Found missing values on line 5 Message: Empty values on line 5: column 2, column 3. Title: Found missing column(s) on line 6 Message: Line 6 has 1 missing column(s).
Title: Found missing values on line 4 Message: Empty values on line 4: column 1. Title: Found missing values on line 5 Message: Empty values on line 5: column 2, column 3. Title: Found missing column(s) on line 6 Message: Line 6 has 1 missing column(s).
CSV 输入选项
输入用于分隔 CSV 输入文件中列的字符。
输入用于引用 CSV 输入字段的引号字符。
输入表示注释行开始的字符。以此符号开头的行将被跳过。
检查选项
从 CSV 输入文件中删除空行。
显示有关 CSV 字段为空的消息(这些不是缺失的字段,而是不包含任何内容的字段)。
设置输出中消息数量的限制。