After execution, an error will occur: "Cannot read properties of null (reading '1')"
It must have a line break to be parsed correctly. I currently solve it by if (!csvStr.includes('\n')) csvStr += '\n';. I hope to release a new version with this fix.
example:
inferSchema('a,b')
After execution, an error will occur: "Cannot read properties of null (reading '1')"
It must have a line break to be parsed correctly. I currently solve it by
if (!csvStr.includes('\n')) csvStr += '\n';
. I hope to release a new version with this fix.