File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 53
53
# so we need to remove it if we see it.
54
54
_BOM = u ('\ufeff ' )
55
55
56
- _parser_params = r"""
56
+ _doc_read_csv_and_table = r"""
57
57
{summary}
58
58
59
59
Also supports optionally iterating or breaking of the file
@@ -700,21 +700,21 @@ def parser_f(filepath_or_buffer,
700
700
701
701
702
702
read_csv = _make_parser_function ('read_csv' , default_sep = ',' )
703
- read_csv = Appender (_parser_params .format (
703
+ read_csv = Appender (_doc_read_csv_and_table .format (
704
704
func_name = 'read_csv' ,
705
705
summary = ('Read a comma-separated values (csv) file '
706
706
'into DataFrame.' ),
707
707
_default_sep = "','" )
708
708
)(read_csv )
709
709
710
710
read_table = _make_parser_function ('read_table' , default_sep = '\t ' )
711
- read_table = Appender (_parser_params .format (
711
+ read_table = Appender (_doc_read_csv_and_table .format (
712
712
func_name = 'read_table' ,
713
713
summary = """Read general delimited file into DataFrame.
714
714
715
715
.. deprecated:: 0.24.0
716
716
Use :func:`pandas.read_csv` instead, passing ``sep='\\ t'`` if necessary.""" ,
717
- _default_sep = r'\\t (tab-stop)' )
717
+ _default_sep = r" '\\t' (tab-stop)" )
718
718
)(read_table )
719
719
720
720
You can’t perform that action at this time.
0 commit comments