-
Notifications
You must be signed in to change notification settings - Fork 315
Pandas to_csv adds extra line terminator by default - winpython 3.8.5.0 #884
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
With what you look at the output? |
It may be normal or not. Before creating an issue on pandas dev, you may have a confirmation per expert user |
Better a false alarm than no alarm. |
Hi @stonebig
Thanks for the best Python distribution! I did consider stackoverflow, but
after googling a bit I thought it may be a windows thing so hence the post
here. If you think that is a better option I could put it there. The issue
is definitely not there on winpython 3.8.3. and it seems that pandas has
not changed anything on the to_csv method if I look at the release notes
between 1.03 and 1.1.1.
Thanks
Charles
…On Tue, Aug 25, 2020 at 4:29 PM stonebig ***@***.***> wrote:
Better a false alarm than no alarm.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#884 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACJFHGKNL5SSYNPICU2I7LDSCPDEHANCNFSM4QKNG3YA>
.
|
|
Looks like it's an os thing.
Somehow the implementation in 3.8.5 now thinks '\r\n' is two lines.
gives the correct format in windows
Is there an easy way to override os.linesep at system level? |
With WinPython3.8.6 the problem persists. |
Where as with the line_terminator explicitly referenced:
Did upgrade to pandas 1.1.1 from 1.1.0 but had no effect.
The text was updated successfully, but these errors were encountered: