Skip to content

Commit 01995b2

Browse files
committed
DOC: fix formatting in DataFrame.to_csv doc-string
1 parent c97238c commit 01995b2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pandas/core/frame.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -1114,14 +1114,14 @@ def to_csv(self, path_or_buf=None, sep=",", na_rep='', float_format=None,
11141114
quotechar='"', line_terminator='\n', chunksize=None,
11151115
tupleize_cols=False, date_format=None, doublequote=True,
11161116
escapechar=None, decimal='.', **kwds):
1117-
r"""Write DataFrame to a comma-separated values (csv) file
1117+
"""Write DataFrame to a comma-separated values (csv) file
11181118
11191119
Parameters
11201120
----------
11211121
path_or_buf : string or file handle, default None
11221122
File path or object, if None is provided the result is returned as
11231123
a string.
1124-
sep : character, default ","
1124+
sep : character, default ','
11251125
Field delimiter for the output file.
11261126
na_rep : string, default ''
11271127
Missing data representation
@@ -1152,7 +1152,7 @@ def to_csv(self, path_or_buf=None, sep=",", na_rep='', float_format=None,
11521152
file
11531153
quoting : optional constant from csv module
11541154
defaults to csv.QUOTE_MINIMAL
1155-
quotechar : string (length 1), default '"'
1155+
quotechar : string (length 1), default '\"'
11561156
character used to quote fields
11571157
doublequote : boolean, default True
11581158
Control quoting of `quotechar` inside a field
@@ -4487,7 +4487,7 @@ def quantile(self, q=0.5, axis=0, numeric_only=True):
44874487
q : float or array-like, default 0.5 (50% quantile)
44884488
0 <= q <= 1, the quantile(s) to compute
44894489
axis : {0, 1, 'index', 'columns'} (default 0)
4490-
0 or 'index' for row-wise, 1 or 'columns' for column-wise
4490+
0 or 'index' for row-wise, 1 or 'columns' for column-wise
44914491
44924492
44934493
Returns

0 commit comments

Comments
 (0)