From b19002bb8c8a3ac7a88c12cd105d816d0f34ea87 Mon Sep 17 00:00:00 2001 From: thoo Date: Mon, 19 Nov 2018 19:56:48 -0500 Subject: [PATCH] change var name from _parser_params --- pandas/io/parsers.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pandas/io/parsers.py b/pandas/io/parsers.py index 51c700a3531c1..b73a81fcedb48 100755 --- a/pandas/io/parsers.py +++ b/pandas/io/parsers.py @@ -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 @@ -700,7 +700,7 @@ 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.'), @@ -708,13 +708,13 @@ def parser_f(filepath_or_buffer, )(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)