Skip to content

Commit

Permalink
DOC: work around IPython directive bug
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAugspurger committed Nov 29, 2018
1 parent 8ed347a commit 0cabc16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/source/io.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0cabc16

Please sign in to comment.