Skip to content
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

ENH: line_terminator parameter for DataFrame.to_csv #2383

Closed
wants to merge 4 commits into from

Conversation

adamobeng
Copy link
Contributor

In response to #2326

(Am I doing this right?)

@@ -1305,7 +1305,7 @@ def _helper_csvexcel(self, writer, na_rep=None, cols=None,

def to_csv(self, path_or_buf, sep=",", na_rep='', float_format=None,
cols=None, header=True, index=True, index_label=None,
mode='w', nanRep=None, encoding=None, quoting=None):
mode='w', nanRep=None, encoding=None, quoting=None, line_terminator='\n'):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

keep an eye on line length (re: PEP8)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I totally missed that. If it makes sense, I'm going to re-organise the developers' page to make the workflow explicit (move the testing and flake8 sections right before 'pushing your changes').

@wesm wesm closed this Nov 29, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants