-
-
Notifications
You must be signed in to change notification settings - Fork 164
Inconsistent csv behavior on Ubuntu #71
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
Comments
That's related to version difference in relation to the behaviour of 'skip_empty_rows'. In later version, the skip_row_rows was enforced across all file_types and was originally limited to ods file type. Please compare the installed version of pyexcel-io. I think you got pyexcel-io>=0.3.0 on ubuntu and got pyexcel-io>=0.2.0 but <=0.2.2 change log on Mac OS. When you do the upgrade on OS X, please pay attention to pyexcel plugin compatibility table and pyexcel-io plugin table if you use other file types. |
Thanks Jaska. You're right about different versions:
I'll pay attention to compatibility. What is the reason for making |
…t installations on OSX and Ubuntu. see pyexcel/pyexcel#71
I think the historical reason was that some individual ods file had extensive empty rows after the content of interest. That's why skip_empty_rows was invented. For uniformity, it was introduced across all file formats. As a side effect, it would affect empty rows in between two rows that has real content. |
Thanks for your reply. In my opinion, the skip_empty_rows default should be false, since it's designed to handle an unusual case. Another possibility would be to issue a warning when empty rows are skipped, but programmers often ignore warnings. I know that I do. However, my code doesn't depend on the default, as I'm setting skip_empty_rows=False in my only call to get_sheet. I appreciate your responsive responses. Keep up your great open-source work! |
pyexcel-io v0.3.2 was released and skip_empty_rows is defaulted to False. |
Thanks jaska.
…On 1/26/17 1:27 PM, jaska wrote:
pyexcel-io v0.3.2 was released and skip_empty_rows is defaulted to False.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#71 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AACEWsV6OzDXmzXqKOqs4lkZ4eJz2Arsks5rWOV7gaJpZM4Lr3Fn>.
--
Arthur Goldberg
https://www.linkedin.com/in/arthurgoldberg
[email protected]
|
Hi Folks
With this code
and a file with this data:
Id,root
Name,€
,
,
x,
On OSX the program produces:
Whereas on Ubuntu, it generates:
Thanks
Arthur
The text was updated successfully, but these errors were encountered: