You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To reproduce, run the following code example from README.md
var data = [[1850, 20, 0, 1, 1017281], [1850, 20, 0, 2, 1003841]];
new CSV(data).encode();
generates the string:
"1850,20,,1,1017281
1850,20,,2,1003841"
Rather than the expected:
"1850,20,0,1,1017281
1850,20,0,2,1003841"
For my own, limited context, I added:
if (value == 0) return "0";
to the top of the stringify function. That fixed it for me. I'm not particularly familiar with this code base, so I doubt that's the right thing to do.
The text was updated successfully, but these errors were encountered:
To reproduce, run the following code example from README.md
generates the string:
Rather than the expected:
For my own, limited context, I added:
to the top of the stringify function. That fixed it for me. I'm not particularly familiar with this code base, so I doubt that's the right thing to do.
The text was updated successfully, but these errors were encountered: