ID EN
CSV

has_header

Python 3.11

Analyze the sample text (presumed to be in CSV format) and return True if the first row appears to be a series of column headers. Inspecting each column, one of two key criteria will be considered to estimate if the sample contains a header:

Syntax

PYTHON
has_header(sample)

See Also

True True