DOC: fix formatting in DataFrame.to_csv doc-string · pandas-dev/pandas@01995b2 (original) (raw)
`@@ -1114,14 +1114,14 @@ def to_csv(self, path_or_buf=None, sep=",", na_rep='', float_format=None,
`
1114
1114
`quotechar='"', line_terminator='\n', chunksize=None,
`
1115
1115
`tupleize_cols=False, date_format=None, doublequote=True,
`
1116
1116
`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
`
1118
1118
``
1119
1119
` Parameters
`
1120
1120
` ----------
`
1121
1121
` path_or_buf : string or file handle, default None
`
1122
1122
` File path or object, if None is provided the result is returned as
`
1123
1123
` a string.
`
1124
``
`-
sep : character, default ","
`
``
1124
`+
sep : character, default ','
`
1125
1125
` Field delimiter for the output file.
`
1126
1126
` na_rep : string, default ''
`
1127
1127
` Missing data representation
`
`@@ -1152,7 +1152,7 @@ def to_csv(self, path_or_buf=None, sep=",", na_rep='', float_format=None,
`
1152
1152
` file
`
1153
1153
` quoting : optional constant from csv module
`
1154
1154
` defaults to csv.QUOTE_MINIMAL
`
1155
``
`-
quotechar : string (length 1), default '"'
`
``
1155
`+
quotechar : string (length 1), default '"'
`
1156
1156
` character used to quote fields
`
1157
1157
` doublequote : boolean, default True
`
1158
1158
`` Control quoting of quotechar
inside a field
``
`@@ -4487,7 +4487,7 @@ def quantile(self, q=0.5, axis=0, numeric_only=True):
`
4487
4487
` q : float or array-like, default 0.5 (50% quantile)
`
4488
4488
` 0 <= q <= 1, the quantile(s) to compute
`
4489
4489
` 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
`
4491
4491
``
4492
4492
``
4493
4493
` Returns
`