Skip to content

Commit 39f4ef1

Browse files
committed
Rewording suggestion from gfyoung
1 parent 4e1570b commit 39f4ef1

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

pandas/core/frame.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1436,8 +1436,8 @@ def to_csv(self, path_or_buf=None, sep=",", na_rep='', float_format=None,
14361436
columns : sequence, optional
14371437
Columns to write
14381438
header : boolean or list of string, default True
1439-
Write out column names. If a list of string is given it is assumed
1440-
to be aliases for the column names
1439+
Write out the column names. If a list of strings is given it is
1440+
assumed to be aliases for the column names
14411441
index : boolean, default True
14421442
Write row names (index)
14431443
index_label : string or sequence, or False, default None
@@ -1597,9 +1597,9 @@ def to_feather(self, fname):
15971597
from pandas.io.feather_format import to_feather
15981598
to_feather(self, fname)
15991599

1600-
@Substitution(header='Write out column names. If a list of string is '
1601-
'given, it is assumed to be aliases for the column '
1602-
'names')
1600+
@Substitution(header='Write out the column names. If a list of strings '
1601+
'is given, it is assumed to be aliases for the '
1602+
'column names')
16031603
@Appender(fmt.docstring_to_string, indents=1)
16041604
def to_string(self, buf=None, columns=None, col_space=None, header=True,
16051605
index=True, na_rep='NaN', formatters=None, float_format=None,

pandas/core/generic.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1207,7 +1207,7 @@ def _repr_latex_(self):
12071207
columns : sequence, optional
12081208
Columns to write
12091209
header : boolean or list of string, default True
1210-
Write out column names. If a list of string is given it is
1210+
Write out the column names. If a list of strings is given it is
12111211
assumed to be aliases for the column names
12121212
index : boolean, default True
12131213
Write row names (index)
@@ -1702,9 +1702,9 @@ def to_xarray(self):
17021702
.. versionadded:: 0.20.0
17031703
"""
17041704

1705-
@Substitution(header='Write out column names. If a list of string is '
1706-
'given, it is assumed to be aliases for the column '
1707-
'names.')
1705+
@Substitution(header='Write out the column names. If a list of strings '
1706+
'is given, it is assumed to be aliases for the '
1707+
'column names.')
17081708
@Appender(_shared_docs['to_latex'] % _shared_doc_kwargs)
17091709
def to_latex(self, buf=None, columns=None, col_space=None, header=True,
17101710
index=True, na_rep='NaN', formatters=None, float_format=None,

0 commit comments

Comments
 (0)