The csv file is not recognized. Can it be supported
Skypekey opened this issue · 1 comments
Skypekey commented
I want to identify csv files, but csv is not supported, and some other files are also not supported.
Can someone briefly describe the idea of code to facilitate adding supported file types
h2non commented
Nope, only binary files, no text format type inference is within the scope of this library.
Although, for that specific case, you can simply check if the file has text content inside that can be read as CSV using csv package. If it fails, it is likely the file is not a CSV, or has the wrong text format.