Skip to main content

analyze_csv_file

Function analyze_csv_file 

Source
pub fn analyze_csv_file(
    file_path: &Path,
    config: &CsvParserConfig,
) -> Result<ProfileReport, DataProfilerError>
Expand description

Analyze a CSV file, returning a full ProfileReport.

Opens the file, reads it as analyze_csv_from_reader does, and wraps the result with file metadata, ISO 8000/25012 data quality metrics, and the scan’s own record: how many rows were ragged, and whether max_rows left rows unread.