Closed Skypekey closed 1 year ago
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.
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