Skip to content

Commit

Permalink
Merge pull request #8857 from graingert/patch-1
Browse files Browse the repository at this point in the history
Clarify encoding kwarg on to_csv
  • Loading branch information
jreback committed Nov 20, 2014
2 parents 6fb9c04 + a084273 commit f010229
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pandas/core/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -1137,8 +1137,8 @@ def to_csv(self, path_or_buf=None, sep=",", na_rep='', float_format=None,
mode : str
Python write mode, default 'w'
encoding : string, optional
a string representing the encoding to use if the contents are
non-ascii, for python versions prior to 3
A string representing the encoding to use in the output file,
defaults to 'ascii' on Python 2 and 'utf-8' on Python 3.
line_terminator : string, default '\\n'
The newline character or character sequence to use in the output
file
Expand Down

0 comments on commit f010229

Please sign in to comment.