Skip to content

Commit

Permalink
DOC: fix formatting in DataFrame.to_csv doc-string
Browse files Browse the repository at this point in the history
  • Loading branch information
jreback committed Jun 28, 2015
1 parent c97238c commit 01995b2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pandas/core/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -1114,14 +1114,14 @@ def to_csv(self, path_or_buf=None, sep=",", na_rep='', float_format=None,
quotechar='"', line_terminator='\n', chunksize=None,
tupleize_cols=False, date_format=None, doublequote=True,
escapechar=None, decimal='.', **kwds):
r"""Write DataFrame to a comma-separated values (csv) file
"""Write DataFrame to a comma-separated values (csv) file
Parameters
----------
path_or_buf : string or file handle, default None
File path or object, if None is provided the result is returned as
a string.
sep : character, default ","
sep : character, default ','
Field delimiter for the output file.
na_rep : string, default ''
Missing data representation
Expand Down Expand Up @@ -1152,7 +1152,7 @@ def to_csv(self, path_or_buf=None, sep=",", na_rep='', float_format=None,
file
quoting : optional constant from csv module
defaults to csv.QUOTE_MINIMAL
quotechar : string (length 1), default '"'
quotechar : string (length 1), default '\"'
character used to quote fields
doublequote : boolean, default True
Control quoting of `quotechar` inside a field
Expand Down Expand Up @@ -4487,7 +4487,7 @@ def quantile(self, q=0.5, axis=0, numeric_only=True):
q : float or array-like, default 0.5 (50% quantile)
0 <= q <= 1, the quantile(s) to compute
axis : {0, 1, 'index', 'columns'} (default 0)
0 or 'index' for row-wise, 1 or 'columns' for column-wise
0 or 'index' for row-wise, 1 or 'columns' for column-wise
Returns
Expand Down

0 comments on commit 01995b2

Please sign in to comment.