Skip to content

Commit

Permalink
change var name from _parser_params
Browse files Browse the repository at this point in the history
  • Loading branch information
thoo committed Nov 20, 2018
1 parent 0720c8b commit b19002b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pandas/io/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
# so we need to remove it if we see it.
_BOM = u('\ufeff')

_parser_params = r"""
_doc_read_csv_and_table = r"""
{summary}
Also supports optionally iterating or breaking of the file
Expand Down Expand Up @@ -700,21 +700,21 @@ def parser_f(filepath_or_buffer,


read_csv = _make_parser_function('read_csv', default_sep=',')
read_csv = Appender(_parser_params.format(
read_csv = Appender(_doc_read_csv_and_table.format(
func_name='read_csv',
summary=('Read a comma-separated values (csv) file '
'into DataFrame.'),
_default_sep="','")
)(read_csv)

read_table = _make_parser_function('read_table', default_sep='\t')
read_table = Appender(_parser_params.format(
read_table = Appender(_doc_read_csv_and_table.format(
func_name='read_table',
summary="""Read general delimited file into DataFrame.
.. deprecated:: 0.24.0
Use :func:`pandas.read_csv` instead, passing ``sep='\\t'`` if necessary.""",
_default_sep=r'\\t (tab-stop)')
_default_sep=r"'\\t' (tab-stop)")
)(read_table)


Expand Down

0 comments on commit b19002b

Please sign in to comment.