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
...the output will actually be this, which is incorrect:
first_column,second_column
2,1
I haven't looked at the source code, but I imagine what's happening is that if data is an object, the library just serializes the object without regard for headers. But ideally it should read properties from each row object in the order of headers.
It's easy enough to fix in my own code, like this:
In the following case:
...the output will actually be this, which is incorrect:
I haven't looked at the source code, but I imagine what's happening is that if data is an object, the library just serializes the object without regard for
headers
. But ideally it should read properties from each row object in the order ofheaders
.It's easy enough to fix in my own code, like this:
But ideally your library could do that so we don't have to :)
The text was updated successfully, but these errors were encountered: