zut.csv.examine_csv

zut.csv.examine_csv(file: str | PathLike | IO[str], *, full: Literal[False] = False, encoding='utf-8', possible_delimiters: Sequence[str] = [',', ';', '\t', '|']) ExamineResult
zut.csv.examine_csv(file: str | PathLike | IO[str], *, full: Literal[True], encoding='utf-8', possible_delimiters: Sequence[str] = [',', ';', '\t', '|']) ExamineFullResult

Determines headers, delimiter and newline properties if they are not already set. If full, also determines ends_with_newline.