From 0cabc16a31e9ec09e96fac0c7f64e5e8a6a1bf1f Mon Sep 17 00:00:00 2001 From: Tom Augspurger Date: Thu, 29 Nov 2018 09:28:59 -0600 Subject: [PATCH] DOC: work around IPython directive bug Closes https://github.com/pandas-dev/pandas/issues/23954 --- doc/source/io.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/io.rst b/doc/source/io.rst index 92fc28af0281a..2b91836d5449d 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -662,8 +662,8 @@ If ``skip_blank_lines=False``, then ``read_csv`` will not ignore blank lines: .. ipython:: python - data = '# empty\n# second empty line\n# third empty' \ - 'line\nX,Y,Z\n1,2,3\nA,B,C\n1,2.,4.\n5.,NaN,10.0' + data = ('# empty\n# second empty line\n# third empty' + 'line\nX,Y,Z\n1,2,3\nA,B,C\n1,2.,4.\n5.,NaN,10.0') print(data) pd.read_csv(StringIO(data), comment='#', skiprows=4, header=1)