pub fn analyze_csv_from_reader<R: Read>(
reader: R,
config: &CsvParserConfig,
) -> Result<(Vec<ColumnProfile>, StreamingColumnCollection, usize, Vec<String>), DataProfilerError>Expand description
Analyze CSV data from any Read source using streaming statistics.
This is the primary generic entry point for both file-based and stream-based
CSV profiling. Data is processed incrementally through StreamingColumnCollection
with bounded memory, rather than accumulating all rows in a HashMap.
Returns (column_profiles, streaming_stats, rows_read).