-
Notifications
You must be signed in to change notification settings - Fork 301
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
does not include trailing comma when last column is empty #3
Comments
it works for me, please send me your xlsx file if it's possible |
xlsx file: http://cl.ly/3i3I0o1s1W3j41452P07 |
i have fixed it, give it a try |
Thanks for the quick fix. That works, with that file. Funnily, the actual file I'm trying to process has some empty fields in the first column as well, and sometimes it's adding an extra comma to the beginning instead of the end. I will create another sample xlsx (my real one has PII in it) and post again later. |
Ok, here is a new xlsx. There are 5 sheets and you can see the output from xlsx2csv.py for each of them in that same gist: https://gist.github.com/750235 I was trying to find the simplest example to recreate the bug, but as you can see from the output, it's... inconsistent. I can work around it by moving the columns around in Excel. I'm just glad to have something to convert to csv since Excel really sucks at it. |
try it again, it should work now |
given the headers A,B,C and data stuff,more stuff, [empty] the csv output doesn't not include a comma after "more stuff".
The text was updated successfully, but these errors were encountered: