Quick way to check if there are non-header rows or not #2069
-
Is there a quick way to specifically check if a file has non-header rows or not? For example:
We assume the first row is a header row and there are no non-header rows so some value like true or false is returned based on implementation. |
Beta Was this translation helpful? Give feedback.
Answered by
jqnatividad
Aug 20, 2024
Replies: 1 comment
-
Hhmmm... for a single row, it's not possible. But if we have at least a few rows, |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jqnatividad
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hhmmm... for a single row, it's not possible.
But if we have at least a few rows,
sniff
makes a good guesstimate, but it still sometimes fails for otherwise valid CSVs.